{"schemaVersion":3,"id":"CVE-2026-45581","aliases":["GHSA-wg5x-3g47-v38r"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-06-08T16:53:45.829Z","modified":"2026-06-09T15:51:04.589Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00151,"percentile":0.03888,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.04500000000000001,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00106},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00106,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00106,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00106,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00106,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00106,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00106,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00106,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00106,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00106,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00106,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00151,"percentile":0.03888}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00106,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00106,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00106,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00106,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00106,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00151,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00151,"percentile":0.03888}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File","description":"The product writes sensitive information to a log file.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/532.html"}],"affected":[{"vendor":"hyperledger","product":"fabric-chaincode-java","name":"fabric-chaincode-java","label":"fabric-chaincode-java","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.3.1, < 2.5.10","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.3.1, < 2.5.10","eol":null,"hubHref":"/vendor/hyperledger/fabric-chaincode-java"},{"vendor":"org.hyperledger.fabric-chaincode-java","product":"fabric-chaincode-shim","name":"org.hyperledger.fabric-chaincode-java:fabric-chaincode-shim","label":"fabric-chaincode-shim","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.hyperledger.fabric-chaincode-java/fabric-chaincode-shim","purlType":"maven","versions":[{"text":"≥ 2.3.1, < 2.5.10","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.3.1, < 2.5.10","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/hyperledger/fabric-chaincode-java/security/advisories/GHSA-wg5x-3g47-v38r","label":"github.com/hyperledger/fabric-chaincode-java/security/advisories/GHSA-wg5x-3g47-v38r","hostname":"github.com","tags":["X Refsource CONFIRM","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45581","label":"nvd.nist.gov/vuln/detail/CVE-2026-45581","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/hyperledger/fabric-chaincode-java","label":"github.com/hyperledger/fabric-chaincode-java","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-06-08T16:53:45.829Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-06-09T15:51:04.589Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":22,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T05:34:05.468Z","stale":false,"partial":false}}