Fabric CA Developer's Guide: LDAP Injection via Unescaped Username in GetUser Filter (CVE-2026-53658)
Fabric CA versions prior to 1.5.21, when configured with an LDAP backend, are vulnerable to LDAP injection due to unescaped usernames in the LDAP UserFilter during authentication. This allows an unauthenticated attacker with network access to manipulate LDAP searches before password validation, potentially redirecting authentication attempts to victim accounts. Deployments not using LDAP backends are not affected. The issue is fixed in version 1.5.21.
AI Analysis
Technical Summary
Fabric CA, a Certificate Authority for Hyperledger Fabric, has an LDAP injection vulnerability (CVE-2026-53658) in versions before 1.5.21. The vulnerability arises because the Client.GetUser function inserts the username from HTTP Basic authentication into the LDAP uid search UserFilter without escaping LDAP metacharacters. This flaw enables an unauthenticated attacker with network access to the CA enrollment endpoint to alter the LDAP search query before password validation, potentially steering authentication attempts toward victim accounts. The vulnerability is specific to deployments using an LDAP backend and is resolved in version 1.5.21.
Potential Impact
An unauthenticated attacker with network access to the enrollment endpoint can manipulate LDAP queries to redirect authentication attempts to other user accounts, potentially enabling unauthorized access or account confusion. Deployments without LDAP backends are not impacted.
Mitigation Recommendations
Upgrade Fabric CA to version 1.5.21 or later, where the vulnerability is fixed by properly escaping LDAP metacharacters in the username before constructing the LDAP UserFilter. No other mitigation is required.
Fabric CA Developer's Guide: LDAP Injection via Unescaped Username in GetUser Filter (CVE-2026-53658)
Description
Fabric CA versions prior to 1.5.21, when configured with an LDAP backend, are vulnerable to LDAP injection due to unescaped usernames in the LDAP UserFilter during authentication. This allows an unauthenticated attacker with network access to manipulate LDAP searches before password validation, potentially redirecting authentication attempts to victim accounts. Deployments not using LDAP backends are not affected. The issue is fixed in version 1.5.21.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Fabric CA, a Certificate Authority for Hyperledger Fabric, has an LDAP injection vulnerability (CVE-2026-53658) in versions before 1.5.21. The vulnerability arises because the Client.GetUser function inserts the username from HTTP Basic authentication into the LDAP uid search UserFilter without escaping LDAP metacharacters. This flaw enables an unauthenticated attacker with network access to the CA enrollment endpoint to alter the LDAP search query before password validation, potentially steering authentication attempts toward victim accounts. The vulnerability is specific to deployments using an LDAP backend and is resolved in version 1.5.21.
Potential Impact
An unauthenticated attacker with network access to the enrollment endpoint can manipulate LDAP queries to redirect authentication attempts to other user accounts, potentially enabling unauthorized access or account confusion. Deployments without LDAP backends are not impacted.
Mitigation Recommendations
Upgrade Fabric CA to version 1.5.21 or later, where the vulnerability is fixed by properly escaping LDAP metacharacters in the username before constructing the LDAP UserFilter. No other mitigation is required.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-xghw-p77p-3r7x
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-53658"]
- Ecosystems
- ["Go"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 4.0
Threat ID: 6a7ff5f6bf8831d53988009c
Added to database: 08/15/2026, 05:15:34 UTC
Last enriched: 09/23/2026, 02:04:11 UTC
Last updated: 09/30/2026, 03:28:29 UTC
Views: 61
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.