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

- Severity: Medium 5.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-02)
- Published: 2026-05-19T15:40:13.000Z
- Modified: 2026-07-23T07:10:00.113Z
- Also known as: GHSA-wg5x-3g47-v38r
- Weaknesses: CWE-532
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- hyperledger fabric-chaincode-java: >= 2.3.1, < 2.5.10
- org.hyperledger.fabric-chaincode-java:fabric-chaincode-shim (Maven): from 2.3.1 before 2.5.10

## Every score

- GitHub_M: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/hyperledger/fabric-chaincode-java/security/advisories/GHSA-wg5x-3g47-v38r> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-45581> (advisory)
- <https://github.com/hyperledger/fabric-chaincode-java> (package)

## Sources

- CVE List: [CVE-2026-45581](https://www.cve.org/CVERecord?id=CVE-2026-45581), CVE Terms of Use, modified 2026-06-09
- GitHub Advisory Database: [GHSA-wg5x-3g47-v38r](https://github.com/advisories/GHSA-wg5x-3g47-v38r), CC-BY-4.0, modified 2026-06-09
- NVD: [CVE-2026-45581](https://nvd.nist.gov/vuln/detail/CVE-2026-45581), Public domain, modified 2026-07-23

---

Page: https://cve.day/CVE-2026-45581 · Whole record: https://cve.day/CVE-2026-45581.json · Rebuilt by cve.day 2026-11-25T22:59:23.999Z
