Description
Fabric CA is a Certificate Authority for Hyperledger Fabric. Prior to 1.5.21, when fabric-ca is configured with an LDAP backend, Client.GetUser in lib/server/ldap/client.go inserts the username from HTTP Basic authentication into the LDAP uid search UserFilter without escaping LDAP metacharacters. An unauthenticated attacker with network access to the CA enrollment endpoint can alter the LDAP search before password validation and potentially steer authentication attempts toward a victim account. Deployments that do not use an LDAP backend are unaffected. This issue is fixed in version 1.5.21.
Severity (CVSS)
| Base score | 6.3 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-90 — CWE-90: Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| hyperledger | fabric-ca | < 1.5.21 |
References
- https://github.com/hyperledger/fabric-ca/security/advisories/GHSA-xghw-p77p-3r7x (x_refsource_CONFIRM)
- https://github.com/hyperledger/fabric-ca/pull/501 (x_refsource_MISC)
- https://github.com/hyperledger/fabric-ca/commit/d379df823534d56dec0166a6da8f0415e3beee24 (x_refsource_MISC)
- https://github.com/hyperledger/fabric-ca/releases/tag/v1.5.21 (x_refsource_MISC)
Generated from the official CVE List on 16 Sep 2026 07:01 UTC.