NetSight
medium6.3

CVE-2026-53658

Fabric CA Developer's Guide: LDAP Injection via Unescaped Username in GetUser Filter

Impact

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 packages

EcosystemPackageAffectedFixed in
gogithub.com/hyperledger/fabric-ca<= 1.5.201.5.21

Weakness classification

References