Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-45581

MEDIUM 5.5EPSS 2%

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

Also known as GHSA-wg5x-3g47-v38r

Mitigation

  • Upgrade org.hyperledger.fabric-chaincode-java:fabric-chaincode-shim to 2.5.10 or later.

Who should check

  • Projects that depend on Maven package org.hyperledger.fabric-chaincode-java:fabric-chaincode-shim (>= 2.3.1, < 2.5.10)
  • Anyone running hyperledger fabric-chaincode-java >= 2.3.1, < 2.5.10

Vulnerability facts

Affected
org.hyperledger.fabric-chaincode-java:fabric-chaincode-shim >= 2.3.1, < 2.5.10
Fixed in
2.5.10
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: None
  • Availability impact: None
EPSS
0.15% chance of exploitation in 30 days (percentile 2, 2026-11-26)
CWE
CWE-532
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Maven org.hyperledger.fabric-chaincode-java:fabric-chaincode-shim>= 2.3.1, < 2.5.102.5.10osv
hyperledger fabric-chaincode-java>= 2.3.1, < 2.5.10—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-45581. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-45581.md
Affected: org.hyperledger.fabric-chaincode-java:fabric-chaincode-shim >= 2.3.1, < 2.5.10
Fixed in: 2.5.10

Steps:
1. Search this machine and project for org.hyperledger.fabric-chaincode-java:fabric-chaincode-shim (Maven), hyperledger fabric-chaincode-java: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-45581 being exploited?

There is no confirmed exploitation: CVE-2026-45581 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.15% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-45581?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2026-45581?

org.hyperledger.fabric-chaincode-java:fabric-chaincode-shim >= 2.3.1, < 2.5.10.

Is there a fix for CVE-2026-45581?

Yes. Fixed in 2.5.10. Upgrade org.hyperledger.fabric-chaincode-java:fabric-chaincode-shim to 2.5.10 or later.

How do I check if I'm affected by CVE-2026-45581?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors