Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/hyperledger/fabric-ca
  4. ›
  5. CVE-2026-53658

CVE-2026-53658: Fabric CA Developer's Guide: LDAP Injection via Unescaped Username in GetUser Filter

August 14, 2026

When fabric-ca is configured with an LDAP backend, the username from HTTP Basic authentication is included in an LDAP uid search filter without proper escaping. An unauthenticated attacker with network access to the CA enrollment endpoint could exploit this to perform LDAP injection before password validation, and potentially steer authentication attempts toward a victim account.

References

  • github.com/advisories/GHSA-xghw-p77p-3r7x
  • github.com/hyperledger/fabric-ca/commit/d379df823534d56dec0166a6da8f0415e3beee24
  • github.com/hyperledger/fabric-ca/security/advisories/GHSA-xghw-p77p-3r7x
  • nvd.nist.gov/vuln/detail/CVE-2026-53658

Code Behaviors & Features

Detect and mitigate CVE-2026-53658 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.5.21

Fixed versions

  • 1.5.21

Solution

Upgrade to version 1.5.21 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-90: Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection')

Source file

go/github.com/hyperledger/fabric-ca/CVE-2026-53658.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 08 Sep 2026 00:17:21 +0000.