Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver malicious checkpoint/config file
-
DeliveryVictim loads it in DeepSpeed
-
ExploitUntrusted data deserialized in build_engine_from_ds_checkpoint
-
ExecutionAttacker object executes
-
ImpactArbitrary code runs as current process
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 the victim to load an attacker-supplied DeepSpeed checkpoint or model-configuration file through the build_engine_from_ds_checkpoint code path, which deserializes the untrusted data without proper validation (CWE-502). The limiting factors are significant: the vector is local (AV:L) and mandatory user interaction (UI:R) is required - the target must actively open the malicious file or visit a page that delivers it; there is no remote, interaction-free trigger. Realistic risk is confined to environments that ingest DeepSpeed checkpoints/configs from untrusted or third-party sources (shared model hubs, downloaded artifacts). The exact DeepSpeed versions affected and any fixed version are not stated in the available sources. |
| Impact | This is a CWE-502 deserialization-to-RCE flaw in DeepSpeed's build_engine_from_ds_checkpoint path, rated CVSS 7.8 (High) with vector CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. The signals are moderate rather than emergency: the attack vector is LOCAL (AV:L) and requires user interaction (UI:R) - the victim must open a malicious file or visit a malicious page that delivers a crafted checkpoint/config - which meaningfully constrains mass exploitation despite full C/I/A impact. The vuln.today decision label is 'this_week' (prioritize, but not act_now/emergency). No EPSS score was supplied, the CVE is NOT listed in CISA KEV, and no working exploit code was provided; the only reference is the ZDI advisory itself. Net: a genuine code-execution risk warranting prompt patching for anyone loading untrusted DeepSpeed checkpoints, but the local vector plus mandatory user interaction place it below internet-facing unauthenticated RCEs in urgency. Note the AV:L/UI:R combination is consistent with the 'open a malicious file' description - no conflict between vector and narrative. |
| Exploit ScenarioDerived | An attacker crafts a malicious DeepSpeed checkpoint or model-configuration file embedding a hostile serialized object and lures a victim (e.g., an ML engineer) into loading it - via a shared model repository, download, or a malicious page. When the victim's DeepSpeed loads the checkpoint through build_engine_from_ds_checkpoint, the untrusted data is deserialized and attacker code runs in the context of the current process. No public exploit code is identified; the ZDI advisory (ZDI-26-1064) documents the flaw but is not verified working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 24, 2026
Deserialization of untrusted model-configuration data in DeepSpeed's build_engine_from_ds_checkpoint path permits arbitrary code execution in the context of the current process. The assessed CVSS 7.8 (High) vector is AV:L/AC:L/PR:N/UI:R, so exploitation requires the victim to open or load an attacker-supplied DeepSpeed checkpoint or model-configuration artifact; there is no remote interaction-free trigger. No public exploit was identified at the time of analysis, and the affected and fixed version ranges are not stated in the available sources.
RemediationAI
No vendor-released patch or fixed DeepSpeed version is identified in the available sources; the ZDI advisory ZDI-26-1064 (https://www.zerodayinitiative.com/advisories/ZDI-26-1064/) is the reference to monitor for an update. Until a fix is published, restrict build_engine_from_ds_checkpoint and checkpoint-loading workflows to artifacts from trusted, provenance-verified sources and validate checksums or signatures before loading. Run checkpoint conversion or model-loading jobs in a low-privilege, isolated environment so that code executed during deserialization cannot reach production credentials or data, recognizing that this does not remove the vulnerability and may slow trusted workflows. Block or disable automatic ingestion of DeepSpeed checkpoints or model configurations from shared hubs or downloaded bundles where operationally feasible; the trade-off is reduced convenience for legitimate model distribution.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
DeepSpeed is a deep-learning optimization library used to train and load large models, and its build_engine_from_ds_checkpoint routine consumes model configuration and checkpoint data. The flaw is CWE-502 (Deserialization of Untrusted Data): user-supplied data is deserialized without adequate validation, allowing attacker-controlled content to influence execution during parsing. The CPE cpe:2.3:a:deepspeed:deepspeed:*:*:*:*:*:*:*:* indicates the affected component is DeepSpeed itself with no version restriction expressed, but the available sources do not specify the exact serialization format, affected field, or DeepSpeed release range. The assessed vector (AV:L/AC:L/PR:N/UI:R) confirms a local attack path with mandatory user interaction; the trigger is not described in the available sources beyond parsing of model configuration data, and the report is tagged RCE and Deserialization.
Know when Deepspeed 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
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
File-borne deserialization needing the victim to load a malicious checkpoint gives AV:L and UI:R with no auth (PR:N); RCE yields full C/I/A impact.
Primary rating from Vendor (zdi).
CVSS VectorVendor: zdi
DescriptionCVE.org
DeepSpeed build_engine_from_ds_checkpoint 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 model configuration 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-29241.
Zero Day Initiative Advisories
Executive ViewAI
A high-severity vulnerability in DeepSpeed (CVE-2026-136438) allows arbitrary code execution when loading maliciously crafted checkpoint or model-configuration files. This affects machine learning teams using DeepSpeed for model training or inference, requiring user interaction to load a compromised artifact. Leadership should prioritize because exploitation could lead to unauthorized access, data breaches, or system compromise within AI development environments.
No vendor-released patch identified at time of analysis. Interim mitigations include: only load DeepSpeed checkpoints and model-configuration files from trusted, verified sources; implement integrity checks (e.g., cryptographic hashes) before loading; run DeepSpeed processes in isolated environments with least privilege; restrict user permissions to limit the impact of code execution; and monitor for anomalous behavior.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
DeepSpeed deserializes untrusted data while parsing checkpoint files in the _get_zero_stage path, allowing an attacker-s
Improper handling of untrusted checkpoint data in DeepSpeed's parse_optim_states routine allows arbitrary code execution
Deserialization of untrusted data in DeepSpeed's torch_checkpoint_engine allows an attacker who supplies a crafted check
Deserialization of untrusted data in DeepSpeed's InferenceEngine checkpoint parsing lets an attacker who supplies a craf
DeepSpeed Remote Code Execution Vulnerability. Rated high severity (CVSS 7.8), this vulnerability is low attack complexi
EUVD-2026-134460
GHSA-95rc-6gm7-mv3h
NVD
CVE.org
EPSS
Exploit-DB