CVE-2026-45581
Received
Received - Intake
TLS Private Key Password Exposure in fabric-chaincode-java
Publication date: 2026-06-08
Last updated on: 2026-06-08
Assigner: GitHub, Inc.
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| hyperledger | fabric-chaincode-shim | From 2.3.1 (inc) to 2.5.10 (exc) |
| hyperledger | fabric-chaincode-java | From 2.3.1 (inc) to 2.5.10 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-532 | The product writes sensitive information to a log file. |