CVE-2026-45581 fabric-chaincode-java: TLS Private Key Password Disclosed in INFO Startup Logs in Chaincode-as-a-Service Mode
Attackers with log access can recover TLS private key passwords, potentially enabling chaincode server impersonation in Hyperledger Fabric Java deployments.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-45581?
CVE-2026-45581 is a medium-severity vulnerability in hyperledger fabric-chaincode-java, published on 8 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
fabric-chaincode-java is a Java based implementation of Hyperledger Fabric chaincode shim APIs. From version 2.3.1 to before version 2.5.10, when chaincode is deployed in chaincode-as-a-service mode with TLS enabled, the chaincode server INFO level logging includes the TLS private key password in plaintext. An attacker with access to the chaincode server logs could recover the TLS private key password. If the attacker can also obtain the TLS private key, they could impersonate the chaincode server. This issue has been patched in version 2.5.10.
Weakness: CWE-532
Which versions are affected by CVE-2026-45581?
2 open source packages ship an affected version, including org.hyperledger.fabric-chaincode-java:fabric-chaincode-shim.
| Package | Affected | Fixed in |
|---|---|---|
org.hyperledger.fabric-chaincode-java:fabric-chaincode-shim Maven | From 2.3.1 | 2.5.10 |
org.hyperledger.fabric-chaincode-java:fabric-chaincode-shim Maven | From 2.3.1 | 2.5.10 |
How do I fix CVE-2026-45581?
Upgrade org.hyperledger.fabric-chaincode-java:fabric-chaincode-shim to 2.5.10 or later.
Is CVE-2026-45581 being exploited?
There is no known exploitation of CVE-2026-45581 in the wild and no public exploit code.
Sources
Also known as GHSA-wg5x-3g47-v38r.