Fabric CA: LDAP Injection via Unescaped Username in GetUser Filter
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-53658
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 02:07 UTC · Revision 1
Source evidence
Fabric CA: LDAP Injection via Unescaped Username in GetUser Filter
core-osv · Original sourcePublished 15 Sept 2026, 16:37 UTC
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.
osv:CVE-2026-53658
Complete source record
{
"id": "4ca7b2efc64aa20ecba3daa14b8f6f96f27f3cfb04f6b533a4012682532a5e3f",
"url": "https://osv.dev/vulnerability/CVE-2026-53658",
"method": "structured",
"payload": {
"kind": "advisory",
"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.",
"evidence": "osv:CVE-2026-53658",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-53658",
"aliases": [
"CVE-2026-53658",
"GHSA-xghw-p77p-3r7x",
"GO-2026-6234"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/hyperledger/fabric-ca",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "f355456a72323ae2a4a250fdecb8744a8c041150"
},
{
"fixed": "d379df823534d56dec0166a6da8f0415e3beee24"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "1.5.21"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "d379df823534d56dec0166a6da8f0415e3beee24"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "f355456a72323ae2a4a250fdecb8744a8c041150"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v1.5.21"
}
]
}
}
],
"versions": [
"v1.5.20",
"v1.5.19",
"v1.5.18",
"v1.5.17",
"v1.5.16",
"v1.5.15",
"v1.5.14",
"v1.5.13",
"v1.5.12",
"v1.5.11",
"v1.5.10",
"v1.5.9",
"v1.5.8",
"v1.5.7",
"v1.5.6",
"v1.5.6-beta3",
"v1.5.6-beta2",
"v1.5.6-beta",
"v1.5.5",
"v1.5.4",
"v1.5.3",
"v1.5.2",
"v1.5.1",
"v1.5.0",
"v2.0.0-alpha",
"v1.4.0-rc1",
"v1.3.0-rc1",
"v1.2.0-rc1",
"v1.1.0-rc1",
"v1.1.0-alpha",
"v1.1.0-preview",
"v1.0.0",
"v1.0.0-rc1",
"v1.0.0-beta"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53658.json"
}
}
],
"modified": "2026-10-28T02:30:32.288600016Z",
"provider": "osv",
"references": [
"https://github.com/hyperledger/fabric-ca/releases/tag/v1.5.21",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53658.json",
"https://github.com/hyperledger/fabric-ca/security/advisories/GHSA-xghw-p77p-3r7x",
"https://nvd.nist.gov/vuln/detail/CVE-2026-53658",
"https://github.com/hyperledger/fabric-ca/commit/d379df823534d56dec0166a6da8f0415e3beee24",
"https://github.com/hyperledger/fabric-ca/pull/501"
],
"provider_metadata": {
"cwe_ids": [
"CWE-90"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53658.json"
}
},
"related_cves": [
{
"value": "CVE-2026-53658",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 499552,
"published_at": "2026-09-15T16:37:14.923+00:00"
}