Vulnerabilities in pkg:golang/github.com/hyperledger/fabric-ca
PACKAGECVE-2026-53658 is a MODERATE ldap injection vulnerability (CWE-90: Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection')) affecting Fabric CA Developer's Guide libraries in the Go ecosystem. The issue involves ldap injection via unescaped username in getuser filter. Remediation is available by upgrading affected packages to version 1.5.21.
pkg:golang/github.com/hyperledger/fabric-ca
Vulnerability advisories affecting package pkg:golang/github.com/hyperledger/fabric-ca. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-xghw-p77p-3r7x | CVE-2026-53658 | MODERATE | Fabric CA Developer's Guide: LDAP Injection via Unescaped Username in GetUser Filter |
CVE-2026-53658 at a Glance
How to Fix CVE-2026-53658
To remediate this vulnerability, upgrade all affected Fabric CA Developer's Guide dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/hyperledger/fabric-ca to 1.5.21
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/hyperledger/fabric-ca
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-53658, inspect your project dependencies for Fabric CA Developer's Guide:
inspect dependencies for github.com/hyperledger/fabric-ca
Analyze the terminal output to locate any version of Fabric CA Developer's Guide in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.5.21), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-90: Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection'), where the product constructs all or part of an ldap query using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended ldap query when it is sent to a downstream component. In Fabric CA Developer's Guide, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-53658 Affected Fabric CA Developer's Guide Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/hyperledger/fabric-ca
|
Go |
< 1.5.21
|
1.5.21
|
References
Frequently Asked Questions
What is CVE-2026-53658?
Which Fabric CA Developer's Guide versions are affected?
What version fixes CVE-2026-53658?
Is github.com/hyperledger/fabric-ca affected?
What CWE is associated with CVE-2026-53658?
How can I check Go dependencies for CVE-2026-53658?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-xghw-p77p-3r7x",
"modified" : "2026-08-14T19:24:57Z",
"published" : "2026-08-14T19:24:57Z",
"aliases" : [ "CVE-2026-53658" ],
"summary" : "Fabric CA Developer's Guide: LDAP Injection via Unescaped Username in GetUser Filter",
"details" : "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.",
"severity" : [ {
"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" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/hyperledger/fabric-ca"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.5.21"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.5.20"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/hyperledger/fabric-ca/security/advisories/GHSA-xghw-p77p-3r7x"
}, {
"type" : "WEB",
"url" : "https://github.com/hyperledger/fabric-ca/commit/d379df823534d56dec0166a6da8f0415e3beee24"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/hyperledger/fabric-ca"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-90" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-08-14T19:24:57Z",
"nvd_published_at" : null
}
}