6.3medium
Fabric CA: LDAP Injection via Unescaped Username in GetUser Filter
- Severity
- 6.3medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.45% (higher than 31% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-xghw-p77p-3r7xGO-2026-6234
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| hyperledger fabric-ca | < 1.5.21 | CVE List |
| github.com/hyperledger/fabric-ca (Go) | before 1.5.21 | GitHub Advisory Database, Go Vulnerability Database |
All scores
| GitHub_M | 6.3medium CVSS:4.0 | 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 |
| GitHub | medium CVSS:4.0 | 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 |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
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.
Recommendation
- All users of fabric-ca with an LDAP backend should update to a fixed version.
- For users not using an LDAP backend, no action is required.
Go Vulnerability Database
LDAP injection via unescaped username in github.com/hyperledger/fabric-ca
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-53658 changed 2026-09-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-xghw-p77p-3r7x changed 2026-08-18 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-6234 changed 2026-08-18 | CC-BY-4.0 |
| NVD | CVE-2026-53658 changed 2026-09-30 | Public domain |