Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessHost malicious DeepSpeed checkpoint
-
ExploitLure victim to open/load file
-
ExecutionDeserialize untrusted checkpoint data
-
ImpactExecute arbitrary code in process context
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/open an attacker-supplied DeepSpeed checkpoint file (the flaw is in checkpoint-data parsing reached via the _get_zero_stage path, which deserializes untrusted data). The decisive prerequisite is user interaction (UI:R): the target must visit a malicious page or open a malicious checkpoint/file - there is no remote, unauthenticated, zero-click path. Limiting factors that reduce realistic risk: the attack vector is local (AV:L), so the malicious file must reach and be processed on the victim's machine; and exploitation depends on a workflow that ingests externally-sourced checkpoints (common in ML teams pulling third-party pretrained models, uncommon in closed pipelines using only self-generated checkpoints). Authentication is not required (PR:N), but the mandatory user interaction is the primary constraint. The exact code path's trigger details beyond 'lack of proper validation of user-supplied data' are not elaborated in the available sources. |
| Impact | This is a genuine but conditional priority rather than a mass-exploitation emergency. The CVSS 3.0 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H = 7.8 HIGH) describes a local attack vector requiring user interaction: despite the description's 'remote attackers' framing, the actual delivery is a malicious checkpoint file or page that the victim must open, so this is not a network-triggerable service exploit. CWE-502 deserialization of untrusted data in a CPython ML library typically yields reliable, deterministic code execution once the file is loaded, which is consistent with C:H/I:H/A:H. No EPSS score, no CISA KEV listing, and no confirmed public exploit code are present in the input, so there is no evidence of active exploitation; the ZDI 'this_week' priority and ZDI-originated discovery indicate a credible, vendor-coordinated finding worth prompt patching but not drop-everything response. The limiting factor - required user interaction and local file handling - meaningfully lowers real-world risk versus the raw 7.8 for internet-facing contexts, but is a poor defense in ML pipelines that routinely ingest third-party pretrained checkpoints from hubs, where opening an untrusted checkpoint is the normal workflow. The AV:L designation combined with the 'remote attackers... visit a malicious page or open a malicious file' description is a known tension in checkpoint-parsing CVEs; treat the local-file/supply-chain path as the realistic one and verify exact affected versions with the vendor. |
| Exploit ScenarioDerived | An attacker publishes a trojanized DeepSpeed checkpoint (e.g., on a model hub or via a malicious link) and a victim data scientist loads it into a DeepSpeed workflow; the untrusted data is deserialized during checkpoint parsing and attacker-controlled code runs in the context of the loading process. Because the CVSS vector is AV:L/AC:L with UI:R, exploitation is low-complexity but hinges on the target choosing to open the malicious file. No confirmed working public exploit code is identified in the provided data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 24, 2026
DeepSpeed deserializes untrusted data while parsing checkpoint files in the _get_zero_stage path, allowing an attacker-supplied checkpoint to execute arbitrary code in the process of the user who opens it. The CPE marks all DeepSpeed versions as potentially affected, and the assessed vector is local with mandatory user interaction (CVSS:3.1/AV:L/AC:L/PR:N/UI:R), so exposure is concentrated in workflows that ingest externally sourced checkpoints; no public exploit was identified at the time of analysis. It is tracked as a this-week priority rather than a mass-exploitation emergency.
RemediationAI
No vendor-released patch was identified at time of analysis, so consult ZDI-26-1065 (https://www.zerodayinitiative.com/advisories/ZDI-26-1065/) and DeepSpeed upstream for a fixed release, and upgrade environments that load checkpoints once one is published. Until then, restrict checkpoint ingestion to trusted, internally generated files and require provenance or hash verification before loading third-party pretrained checkpoints; the trade-off is that this blocks reuse of external models. Parse any externally sourced checkpoint in a sandboxed, low-privilege container without access to credentials or sensitive network resources; the trade-off is operational overhead and possible friction with distributed training workflows. Because exploitation requires the user to open the malicious checkpoint, enforce the trusted-source rule at the workflow level rather than relying on user judgement.
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
The flaw is CWE-502, deserialization of untrusted data, in the checkpoint-data parsing path reached through DeepSpeed's _get_zero_stage handling. DeepSpeed is a deep-learning optimization library, and the CPE cpe:2.3:a:deepspeed:deepspeed:*:*:*:*:*:*:*:* leaves the affected version range open rather than defining a fixed boundary in the supplied data. Authentication is not required per PR:N, but the assessed vector is AV:L with mandatory UI:R: the victim must open or load an attacker-supplied checkpoint, and there is no remote, unauthenticated, zero-click path. Although the description refers to remote attackers, the assessed vector is local; the sources do not elaborate the exact serialization routine, accepted object types, or trigger details beyond the lack of validation of user-supplied data.
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
AV:L and UI:R because a user must open a malicious local checkpoint file; AC:L and PR:N as deserialization triggers on load without auth; C/I/A:H for arbitrary code execution in-process.
Primary rating from Vendor (zdi).
CVSS VectorVendor: zdi
DescriptionCVE.org
DeepSpeed _get_zero_stage 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-29242.
Zero Day Initiative Advisories
Executive ViewAI
DeepSpeed, a widely used library for distributed training, contains a high-severity deserialization flaw in its checkpoint loading path that could allow an attacker to execute arbitrary code when a user opens a malicious checkpoint file. Because the vector requires local access and user interaction, the primary risk is to teams that consume model checkpoints from external or untrusted sources, potentially leading to data compromise or unauthorized access within research and ML engineering environments. Leadership should prioritize inventorying and reviewing checkpoint ingestion workflows rather than treating this as an immediate enterprise-wide emergency.
No vendor-released patch identified at time of analysis; implement strict source verification for all checkpoint files (hashes, signatures), restrict loading to trusted repositories, sandbox checkpoint-loading processes with minimal privileges, and enforce user awareness to avoid opening untrusted checkpoints.
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.
Deserialization of untrusted model-configuration data in DeepSpeed's build_engine_from_ds_checkpoint path permits arbitr
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-134461
GHSA-8gj7-wpcq-235c
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB