{"id":"CVE-2026-45581","aliases":["CVE-2026-45581","GHSA-wg5x-3g47-v38r"],"related":[],"kind":"vulnerability","state":"published","title":"fabric-chaincode-java: TLS Private Key Password Disclosed in INFO Startup Logs in Chaincode-as-a-Service Mode","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.\n\n### Recommendation\n\n- Update to the fixed version of the chaincode runtime.\n- Redact or remove existing logs that contain the TLS private key password.\n- Change the TLS private key password.\n\n### Mitigation\n\nImpacted deployments can mitigate the vulnerability by restricting the logging level to WARNING or higher so that INFO level logs are not written.","format":"markdown","source":"ghsa"},{"lang":"es","text":"fabric-chaincode-java es una implementación basada en Java de las API shim de chaincode de Hyperledger Fabric. Desde la versión 2.3.1 hasta antes de la versión 2.5.10, cuando el chaincode se despliega en modo chaincode-as-a-service con TLS habilitado, el registro de nivel INFO del servidor de chaincode incluye la contraseña de la clave privada TLS en texto plano. Un atacante con acceso a los registros del servidor de chaincode podría recuperar la contraseña de la clave privada TLS. Si el atacante también puede obtener la clave privada TLS, podría suplantar la identidad del servidor de chaincode. Este problema ha sido parcheado en la versión 2.5.10.","source":"nvd"}],"published":"2026-05-19T15:40:13.000Z","modified":"2026-07-23T07:10:00.113Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-532"],"affected":[{"ranges":[{"version":">= 2.3.1, < 2.5.10","status":"affected"}],"vendor":"hyperledger","product":"fabric-chaincode-java","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.3.1","status":"affected","fixed":"2.5.10"}],"ecosystem":"Maven","package":"org.hyperledger.fabric-chaincode-java:fabric-chaincode-shim","purl":"pkg:maven/org.hyperledger.fabric-chaincode-java/fabric-chaincode-shim","source":"ghsa"}],"references":[{"url":"https://github.com/hyperledger/fabric-chaincode-java/security/advisories/GHSA-wg5x-3g47-v38r","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45581","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/hyperledger/fabric-chaincode-java","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-09T15:50:52.027Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-45581","url":"https://www.cve.org/CVERecord?id=CVE-2026-45581","licence":"CVE Terms of Use","modified":"2026-06-09T15:51:04.589Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wg5x-3g47-v38r","url":"https://github.com/advisories/GHSA-wg5x-3g47-v38r","licence":"CC-BY-4.0","modified":"2026-06-09T13:30:19.031Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-45581","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45581","licence":"Public domain","modified":"2026-07-23T07:10:00.113Z"}],"updatedAt":"2026-11-25T22:59:23.999Z","epss":{"score":0.00106,"percentile":0.01196,"date":"2026-12-02T12:00:21.000Z"}}