Fabric CA Developer's Guide: LDAP Injection via Unescaped Username in GetUser Filter
Package
Affected versions
<= 1.5.20
Patched versions
1.5.21
Description
Published to the GitHub Advisory Database
Aug 14, 2026
Reviewed
Aug 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.
Recommendation
References