Insertion of Sensitive Information into Log File Affecting org.hyperledger.fabric-chaincode-java:fabric-chaincode-shim package, versions [2.3.1,2.5.10)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.11% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Insertion of Sensitive Information into Log File vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGHYPERLEDGERFABRICCHAINCODEJAVA-17326903
  • published12 Jun 2026
  • disclosed8 Jun 2026
  • creditlalalala5678

Introduced: 8 Jun 2026

CVE-2026-45581  (opens in a new tab)
CWE-532  (opens in a new tab)

How to fix?

Upgrade org.hyperledger.fabric-chaincode-java:fabric-chaincode-shim to version 2.5.10 or higher.

Overview

Affected versions of this package are vulnerable to Insertion of Sensitive Information into Log File in the INFO level logging when chaincode is deployed in chaincode-as-a-service mode with TLS enabled. An attacker can obtain sensitive information (TLS private key) by accessing the server logs. If the attacker also acquires the corresponding private key, they may impersonate the server.

CVSS Base Scores

version 4.0
version 3.1