Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious checkpoint file
-
DeliveryDeliver via model hub or page
-
ExploitVictim loads checkpoint in DeepSpeed
-
ExecutionUnsafe deserialization triggers payload
-
ImpactExecute code 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 checkpoint through DeepSpeed's torch_checkpoint_engine, whose checkpoint-parsing path deserializes user-supplied data without validation (CWE-502). The concrete prerequisite is that a user must open a malicious checkpoint file or visit a malicious page that induces such a load (UI:R) - there is no autonomous network trigger. Limiting factors: the local attack vector (AV:L) means the malicious data must reach the victim and be processed locally, and the required user interaction means exploitation depends on the victim actually loading the untrusted checkpoint rather than a background service being attacked remotely. No special privilege is needed (PR:N). The exact code path and whether any non-default configuration is required are not described in the available sources. |
| Impact | The CVSS 3.0 base score is 7.8 (High) with vector AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, meaning the vector is LOCAL and requires user interaction - this is NOT a remotely-triggerable network RCE despite the 'Remote Code Execution' title; the 'remote' aspect refers to attacker-supplied content (a malicious checkpoint file or page) rather than a network-reachable service. PR:N (no privileges) means no authentication is required of the victim, but UI:R means a user must actively load/open the malicious checkpoint. The impact triad is maximal (C:H/I:H/A:H) because CWE-502 deserialization of an untrusted PyTorch checkpoint yields arbitrary code execution in the process context. No EPSS score was supplied and the CVE is not listed in CISA KEV, so there is no evidence of active exploitation. No confirmed working exploit code was provided - only a ZDI advisory reference. The vuln.today decision label is 'this_week', indicating elevated but not emergency priority. Net assessment: a genuine, high-impact code-execution bug in a popular ML library, but its real-world risk is materially bounded by the local vector and the required user interaction, so it is a 'patch promptly' issue rather than an actively-exploited emergency. Missing signals: EPSS and any independent confirmation of exploitability beyond the ZDI advisory. |
| Exploit ScenarioDerived | An attacker crafts a malicious DeepSpeed/PyTorch checkpoint file embedding a serialized object payload and distributes it (e.g., via a model-sharing hub, a malicious webpage, or a shared training artifact). When a victim loads that checkpoint through DeepSpeed's torch_checkpoint_engine, the untrusted data is deserialized and attacker-controlled code executes in the context of the loading process. No confirmed public exploit code was identified; only a ZDI advisory reference exists. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 24, 2026
Deserialization of untrusted data in DeepSpeed's torch_checkpoint_engine allows an attacker who supplies a crafted checkpoint file to execute arbitrary code in the context of the process that loads it. The flaw is rated 7.8 (High) with vector AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - it is a local-vector issue that requires the victim to open a malicious file or visit a page that induces a checkpoint load, not a network-reachable service exploit, despite the 'Remote Code Execution' label in the advisory title. Affected installs are those using the torch_checkpoint_engine checkpoint-parsing path; no public exploit was identified at time of analysis, though the ZDI advisory (ZDI-26-1062 / ZDI-CAN-29214) is public.
RemediationAI
No vendor-released patch version is identified in the available data; track the ZDI advisory at https://www.zerodayinitiative.com/advisories/ZDI-26-1062/ and the DeepSpeed project for a fixed release, and treat any confirmation of a patched version as the primary fix once published. Until then, the actionable control is to stop feeding untrusted data into the torch_checkpoint_engine: accept checkpoints only from trusted, authenticated sources and verify them against known-good hashes before loading - the trade-off is that ad-hoc checkpoint sharing and community model downloads must be gated through an approval or scanning step rather than loaded directly. Where untrusted checkpoints must be inspected, perform the load inside a sandboxed, low-privilege process or isolated container with no credentials or network reachability, accepting the cost of a heavier isolation workflow. Because the vector is local and requires the victim to open the malicious file or page (UI:R), user awareness around opening unsolicited checkpoint files is relevant, but note that restricting checkpoint provenance is the only control that addresses the deserialization path itself; per the available evidence no configuration toggle or feature flag is documented as disabling it.
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 root cause is CWE-502, Deserialization of Untrusted Data: the torch_checkpoint_engine component parses checkpoint data without adequately validating user-supplied content, so a malicious checkpoint passed to the engine is deserialized and can result in code execution within the loading process. DeepSpeed is a distributed deep-learning optimization library used for training and inference at scale, and checkpoints are routinely exchanged between users, shared storage, and experiment pipelines, which is the exposure surface here. The CPE entry (cpe:2.3:a:deepspeed:deepspeed:*:*:*:*:*:*:*:*) indicates the vendor product is affected with no version range enumerated in the available data, so the precise set of vulnerable releases is not established by these sources. Execution does not require privileges (PR:N) but does require user interaction (UI:R) and a local vector (AV:L): the victim must load the attacker-supplied checkpoint. The specific code path and whether any non-default configuration is required are not described in the available sources.
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
Local because the malicious checkpoint must be loaded on the host (AV:L) and a user must open it (UI:R); no privileges needed (PR:N), and deserialization yields full process compromise (C:H/I:H/A:H).
Primary rating from Vendor (zdi).
CVSS VectorVendor: zdi
DescriptionCVE.org
DeepSpeed torch_checkpoint_engine 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-29214.
Zero Day Initiative Advisories
Executive ViewAI
DeepSpeed, a popular open-source library for deep learning optimization, contains a high-severity flaw that allows arbitrary code execution when a crafted checkpoint file is loaded. This impacts any organization using DeepSpeed in AI/ML development, potentially leading to data breaches or model theft, but requires user interaction (e.g., loading a malicious file), so the immediate risk is moderate though leadership should prioritize remediation due to the critical nature of AI assets.
No vendor-released patch identified at time of analysis. Interim mitigations include: avoid loading checkpoint files from untrusted sources, verify the integrity of checkpoint files via checksums or signatures, restrict the use of torch_checkpoint_engine to trusted environments only, and implement application sandboxing to limit the impact of potential code execution.
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
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 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-134458
GHSA-6w35-23c8-vghf
NVD
CVE.org
EPSS
Exploit-DB