All reports
Medium

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

Affected versions

Affected versions
>= 2.3.1, <= 2.5.9
Fixed version
2.5.10

Exploitation

CVE-2026-45581

Probability of exploitation in the next 30 days: 0.11%

FIRST EPSS · 2026-11-23

Description

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
  • Update to the fixed version of the chaincode runtime.

  • Redact or remove existing logs that contain the TLS private key password.

  • Change the TLS private key password.

Mitigation

Impacted deployments can mitigate the vulnerability by restricting the logging level to WARNING or higher so that INFO level logs are not written.

Links

Credits

  • lalalala5678
  • bestbeforetoday