CVE-2026-53658: Fabric CA Developer's Guide: LDAP Injection via Unescaped Username in GetUser Filter
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.
Published Aug 14, 2026
Affected packages
github.com/hyperledger/fabric-ca
- Ecosystem
- Go
- Affected
- <= 1.5.20
- Fixed in
- 1.5.21
- Check
go list -m github.com/hyperledger/fabric-ca
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to brodmart, bestbeforetoday.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
