MODERATE 5.5

CVE-2026-45581

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

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.hyperledger.fabric-chaincode-java » fabric-chaincode-shim
>= 2.3.1, < 2.5.10
2.5.10

Blast radius

1affected artifacts
14affected versions
2dependent artifacts (est.)
2dependent versions

100% of the dependent artifacts (2) still pull an affected version in their latest release.

DepthDependent versions
Direct
2

Most used dependents

Computed from the dependency graph of build 20261125.0317 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.