Skip to main content

DeepSpeed EUVDEUVD-2026-134458

| CVE-2026-136436 HIGH
Deserialization of Untrusted Data (CWE-502)
2026-11-24 zdi GHSA-6w35-23c8-vghf
7.8
CVSS 3.0 · Vendor: zdi
View

Attack ChainAIDerived

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

  1. Access
    Craft malicious checkpoint file
  2. Delivery
    Deliver via model hub or page
  3. Exploit
    Victim loads checkpoint in DeepSpeed
  4. Execution
    Unsafe deserialization triggers payload
  5. Impact
    Execute 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

DeepSpeed 0.18.5

Affected Packages

euvd deepspeed no fix

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

Vendor (zdi) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

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).

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (zdi).

CVSS VectorVendor: zdi

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.3%
Top 87% exploitable
Prevalence
Medium
popular open-source deep-learning training library, common in ML/AI workloads but not universal
Data Quality
3 sources
Confidence: Low

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 HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
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.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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