{"answers":{"affected":"2 open source packages ship an affected version, including org.hyperledger.fabric-chaincode-java:fabric-chaincode-shim.","exploited":"There is no known exploitation of CVE-2026-45581 in the wild and no public exploit code.","fix":"Upgrade org.hyperledger.fabric-chaincode-java:fabric-chaincode-shim to 2.5.10 or later.","what":"CVE-2026-45581 is a medium-severity vulnerability in hyperledger fabric-chaincode-java, published on 8 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-45581 and fix it if it is affected.\n\nWhat it is: CVE-2026-45581 is a medium-severity vulnerability in hyperledger fabric-chaincode-java, published on 8 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-45581 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.hyperledger.fabric-chaincode-java:fabric-chaincode-shim (Maven): affected from 2.3.1; fixed in 2.5.10\n- org.hyperledger.fabric-chaincode-java:fabric-chaincode-shim (Maven): affected from 2.3.1; fixed in 2.5.10\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-45581/ (Markdown: https://insights.sbomify.com/CVE-2026-45581/index.md)","id":"CVE-2026-45581","markdown":"https://insights.sbomify.com/CVE-2026-45581/index.md","name":"CVE-2026-45581","record":{"aliases":["GHSA-wg5x-3g47-v38r"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Hyperledger Fabric Java SDK","requires_auth":"low_privilege","summary":"Attackers with log access can recover TLS private key passwords, potentially enabling chaincode server impersonation in Hyperledger Fabric Java deployments.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"}],"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"fabric-chaincode-java: TLS Private Key Password Disclosed in INFO Startup Logs in Chaincode-as-a-Service Mode","id":"CVE-2026-45581","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":2,"n_references":1,"next":{"headline":"n8n-MCP: Workflow telemetry sanitizer could retain partial values from URL-shaped node parameters","id":"CVE-2026-45582"},"packages":[{"ecosystem":"Maven","fixed":["2.5.10"],"introduced":["2.3.1"],"last_affected":[],"package":"org.hyperledger.fabric-chaincode-java:fabric-chaincode-shim","purl":null,"source":"GHSA-wg5x-3g47-v38r"},{"ecosystem":"Maven","fixed":["2.5.10"],"introduced":["2.3.1"],"last_affected":[],"package":"org.hyperledger.fabric-chaincode-java:fabric-chaincode-shim","purl":"pkg:maven/org.hyperledger.fabric-chaincode-java/fabric-chaincode-shim","source":"GHSA-wg5x-3g47-v38r"}],"prev":{"headline":"WWBN AVideo Live: stored XSS via unescaped stream key in modeYoutubeLive.php class attribute","id":"CVE-2026-45580"},"products":["fabric-chaincode-java"],"published":"2026-06-08","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-09","vendors":["hyperledger"]},"summary":"Attackers with log access can recover TLS private key passwords, potentially enabling chaincode server impersonation in Hyperledger Fabric Java deployments.","url":"https://insights.sbomify.com/CVE-2026-45581/"}