# CVE-2026-53658: Fabric CA: LDAP Injection via Unescaped Username in GetUser Filter

- Severity: Medium 6.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 31% of CVEs (2026-11-30)
- Published: 2026-08-14T19:24:57.000Z
- Modified: 2026-09-30T17:43:24.057Z
- Also known as: GHSA-xghw-p77p-3r7x, GO-2026-6234
- Weaknesses: CWE-90
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- hyperledger fabric-ca: < 1.5.21
- github.com/hyperledger/fabric-ca (Go): before 1.5.21

## Every score

- GitHub_M: CVSS:4.0 6.3 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/hyperledger/fabric-ca/security/advisories/GHSA-xghw-p77p-3r7x> (advisory, web)
- <https://github.com/hyperledger/fabric-ca/pull/501>
- <https://github.com/hyperledger/fabric-ca/commit/d379df823534d56dec0166a6da8f0415e3beee24> (fix, web)
- <https://github.com/hyperledger/fabric-ca/releases/tag/v1.5.21>
- <https://github.com/hyperledger/fabric-ca> (package)

## Sources

- CVE List: [CVE-2026-53658](https://www.cve.org/CVERecord?id=CVE-2026-53658), CVE Terms of Use, modified 2026-09-16
- GitHub Advisory Database: [GHSA-xghw-p77p-3r7x](https://github.com/advisories/GHSA-xghw-p77p-3r7x), CC-BY-4.0, modified 2026-08-18
- Go Vulnerability Database: [GO-2026-6234](https://pkg.go.dev/vuln/GO-2026-6234), CC-BY-4.0, modified 2026-08-18
- NVD: [CVE-2026-53658](https://nvd.nist.gov/vuln/detail/CVE-2026-53658), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-53658 · Whole record: https://cve.day/CVE-2026-53658.json · Rebuilt by cve.day 2026-11-25T22:59:38.593Z
