{"id":"CVE-2026-53658","aliases":["CVE-2026-53658","GHSA-xghw-p77p-3r7x","GO-2026-6234"],"related":[],"kind":"vulnerability","state":"published","title":"Fabric CA: LDAP Injection via Unescaped Username in GetUser Filter","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.\n\n### Recommendation\n\n- All users of fabric-ca with an LDAP backend should update to a fixed version.\n- For users not using an LDAP backend, no action is required.","format":"markdown","source":"ghsa"},{"lang":"en","text":"LDAP injection via unescaped username in github.com/hyperledger/fabric-ca","format":"markdown","source":"go"}],"published":"2026-08-14T19:24:57.000Z","modified":"2026-09-30T17:43:24.057Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":6.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"MEDIUM"}],"cwes":["CWE-90"],"affected":[{"ranges":[{"version":"< 1.5.21","status":"affected"}],"vendor":"hyperledger","product":"fabric-ca","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.5.21"}],"ecosystem":"Go","package":"github.com/hyperledger/fabric-ca","purl":"pkg:golang/github.com/hyperledger/fabric-ca","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.5.21"}],"ecosystem":"Go","package":"github.com/hyperledger/fabric-ca","purl":"pkg:golang/github.com/hyperledger/fabric-ca","source":"go"}],"references":[{"url":"https://github.com/hyperledger/fabric-ca/security/advisories/GHSA-xghw-p77p-3r7x","tags":["advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/hyperledger/fabric-ca/pull/501","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/hyperledger/fabric-ca/commit/d379df823534d56dec0166a6da8f0415e3beee24","tags":["fix","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/hyperledger/fabric-ca/releases/tag/v1.5.21","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/hyperledger/fabric-ca","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-09-16T15:37:09.855Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-53658","url":"https://www.cve.org/CVERecord?id=CVE-2026-53658","licence":"CVE Terms of Use","modified":"2026-09-16T15:37:16.265Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-xghw-p77p-3r7x","url":"https://github.com/advisories/GHSA-xghw-p77p-3r7x","licence":"CC-BY-4.0","modified":"2026-08-18T17:23:59.170Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-6234","url":"https://pkg.go.dev/vuln/GO-2026-6234","licence":"CC-BY-4.0","modified":"2026-08-18T17:15:27.921Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-53658","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53658","licence":"Public domain","modified":"2026-09-30T17:43:24.057Z"}],"updatedAt":"2026-11-25T22:59:38.593Z","epss":{"score":0.0045,"percentile":0.31011,"date":"2026-11-30T12:00:22.000Z"}}