NetSight
medium5.5

CVE-2026-45581

fabric-chaincode-java: TLS Private Key Password Disclosed in INFO Startup Logs in Chaincode-as-a-Service Mode

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
mavenorg.hyperledger.fabric-chaincode-java:fabric-chaincode-shim>= 2.3.1, <= 2.5.92.5.10

Weakness classification

References