CVE-2026-53658
JSON

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 packageVersionsReported by
hyperledger fabric-ca< 1.5.21CVE List
github.com/hyperledger/fabric-ca (Go)before 1.5.21GitHub Advisory Database, Go Vulnerability Database

All scores

GitHub_M6.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
GitHubmedium CVSS:4.0CVSS: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

CWE-90

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

SourceRecordLicence
CVE ListCVE-2026-53658 changed 2026-09-16CVE Terms of Use
GitHub Advisory DatabaseGHSA-xghw-p77p-3r7x changed 2026-08-18CC-BY-4.0
Go Vulnerability DatabaseGO-2026-6234 changed 2026-08-18CC-BY-4.0
NVDCVE-2026-53658 changed 2026-09-30Public domain