fabric-chaincode-java: TLS Private Key Password Disclosed in INFO Startup Logs in Chaincode-as-a-Service Mode
Moderate severity
GitHub Reviewed
Published
May 14, 2026
in
hyperledger/fabric-chaincode-java
•
Updated Jun 9, 2026
Package
Affected versions
>= 2.3.1, <= 2.5.9
Patched versions
2.5.10
Description
Published to the GitHub Advisory Database
May 19, 2026
Reviewed
May 19, 2026
Published by the National Vulnerability Database
Jun 8, 2026
Last updated
Jun 9, 2026
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.
Recommendation
Mitigation
Impacted deployments can mitigate the vulnerability by restricting the logging level to WARNING or higher so that INFO level logs are not written.
References