CVE-2026-136435 in DeepSpeedinfo

Summary

by MITRE • 11/24/2026

DeepSpeed InferenceEngine Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of DeepSpeed. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw exists within the parsing of checkpoint data. The issue results from the lack of proper validation of user-supplied data, which can result in deserialization of untrusted data. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-28091.

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Analysis

by VulDB Data Team • 11/24/2026

The identified vulnerability represents a critical security flaw within the DeepSpeed Inference Engine, specifically categorized as a deserialization of untrusted data issue that leads to remote code execution. This type of vulnerability is fundamentally rooted in CWE-502, which describes the dangerous practice of deserializing potentially hostile or unverified data without adequate integrity checks or validation mechanisms. The core technical failure lies within the parsing logic responsible for handling checkpoint data files used by DeepSpeed during model inference operations. When the engine processes these checkpoints, it fails to properly validate the structure and content of user-supplied input before initiating the deserialization process. This lack of rigorous sanitization allows an attacker to inject malicious payloads disguised as legitimate checkpoint components or metadata structures that are subsequently executed within the application context.

The operational impact of this vulnerability is severe due to its potential for arbitrary code execution in the context of the current process running DeepSpeed. Since deep learning frameworks often operate with significant system privileges to manage large memory allocations and hardware resources, successful exploitation could grant an attacker full control over the underlying host environment. This includes the ability to read sensitive model weights, exfiltrate training data, pivot to other systems on the network, or establish persistent backdoors. The attack vector requires user interaction, meaning the target must actively visit a malicious webpage that triggers the loading of compromised checkpoint files or manually open a crafted file within an application utilizing DeepSpeed. This social engineering aspect aligns with ATT&CK technique T1204, which covers user execution as a method for initial access, where attackers rely on victims to perform actions such as opening documents or visiting websites to trigger the exploit chain.

From a technical perspective, the flaw exploits the inherent risks associated with Python's pickle module and similar serialization libraries commonly used in machine learning ecosystems. These libraries allow arbitrary object instantiation during deserialization if not properly restricted. By crafting a checkpoint file that contains serialized objects capable of executing system commands or importing malicious modules upon loading, an attacker can bypass standard security controls. The absence of strict type checking or whitelist-based validation for the classes and methods allowed during unpickling creates this attack surface. This is particularly dangerous in distributed training environments where model checkpoints are frequently shared across nodes, potentially amplifying the blast radius if one node is compromised through a malicious checkpoint received from an untrusted source.

Mitigation strategies must focus on implementing strict input validation and secure deserialization practices within the DeepSpeed codebase or its integrations. Developers should avoid using unsafe serialization formats like pickle for data exchanged between untrusted parties, opting instead for safer alternatives such as JSON, Protocol Buffers, or MessagePack that do not support arbitrary object instantiation. If legacy checkpoint compatibility is required, a strict allowlist of permitted classes and functions must be enforced during the deserialization phase to prevent the execution of unexpected code paths. Additionally, running inference engines with minimal necessary privileges can limit the impact of successful exploitation by restricting file system access and network connectivity. Organizations should also implement rigorous supply chain security measures for model artifacts, ensuring that checkpoints are signed or verified against known good hashes before being loaded into production environments. Regular auditing of third-party libraries used in deep learning pipelines is essential to identify and patch similar vulnerabilities proactively.

Responsible

Zdi

Reservation

11/24/2026

Disclosure

11/24/2026

Moderation

accepted

CPE

ready

EPSS

0.00301

KEV

no

Activities

very low

Sources

Want to stay up to date on a daily basis?

Enable the mail alert feature now!