Skip to main content

DeepSpeed EUVDEUVD-2026-134459

| CVE-2026-136437 HIGH
Deserialization of Untrusted Data (CWE-502)
2026-11-24 zdi GHSA-hf46-g3r9-gxrv
7.8
CVSS 3.0 · Vendor: zdi
View

Attack ChainAIDerived

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

  1. Access
    Deliver malicious checkpoint file to victim
  2. Delivery
    Victim loads checkpoint in DeepSpeed
  3. Exploit
    parse_optim_states deserializes untrusted data
  4. Execution
    Arbitrary code executes in current process
  5. Impact
    Compromise of ML host/pipeline

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 so that the parse_optim_states routine deserializes the embedded untrusted data; the description states user interaction is required (the target must open a malicious file or visit a malicious page). Limiting factors: the vector is local (AV:L), not network-remote, and depends on a user action, so exploitation is confined to environments that ingest untrusted or third-party checkpoint files - isolated pipelines that only load internally-generated, trusted checkpoints are not exposed. Code executes only with the privileges of the process performing the load.

Impact

This is a locally-exploitable code-execution flaw (CVSS 3.0 7.8, AV:L/AC:L/PR:N/UI:R) in DeepSpeed's checkpoint parsing (parse_optim_states), classified CWE-502 deserialization of untrusted data. The CVSS vector is consistent with the description: AV:L plus UI:R means exploitation is not remote-network-automatable but instead requires the victim to open or process an attacker-supplied checkpoint file, which is the normal DeepSpeed workflow of loading a model/optimizer checkpoint. No EPSS score, no CISA KEV listing, and no SSVC automatable/technical-impact fields were supplied, so exploitation-probability and kill-chain-automation signals are missing; the only priority signal is the vuln.today decision label 'this_week', which indicates a near-term but not emergency patch cadence. There is no public exploit identified - the single reference is the ZDI advisory (ZDI-26-1063 / ZDI-CAN-29243), which is a vulnerability disclosure, not verified working exploit code. Net assessment: a genuine high-impact (C:H/I:H/A:H) RCE whose real-world risk is tempered by the local vector and required user interaction, making it dangerous in ML pipelines that ingest third-party checkpoints but not a mass-exploitable network worm. Note the input labels this CVSS:3.0, not 3.1, and no EPSS/KEV data was provided to confirm or contradict active exploitation.

Exploit ScenarioDerived

An attacker crafts a malicious DeepSpeed checkpoint (e.g., a shared or downloaded model/optimizer state file) containing a serialized payload. When a data scientist or MLOps pipeline loads that checkpoint and parse_optim_states deserializes the untrusted data, attacker-controlled code runs in the context of the loading process. Exploitation requires the victim to open the malicious file (UI:R) and local processing (AV:L); no public exploit code is identified, only the ZDI advisory.

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

Improper handling of untrusted checkpoint data in DeepSpeed's parse_optim_states routine allows arbitrary code execution in the context of the process that loads the checkpoint. All versions matching the wildcard CPE cpe:2.3:a:deepspeed:deepspeed are presumed affected, since no version boundary is published; the vector is local (AV:L) with no privileges required (PR:N) but requires user interaction (UI:R), meaning the victim must open a malicious checkpoint file or visit a malicious page. No public exploit code or CISA KEV entry is associated with this CVE at time of analysis; exploitation is realistically limited to environments that ingest checkpoints from untrusted or third-party sources.

RemediationAI

No vendor-released patch was identified at time of analysis and no fixed version is published in the available data; track the ZDI advisory ZDI-26-1063 (https://www.zerodayinitiative.com/advisories/ZDI-26-1063/) and DeepSpeed release notes for a patched version, and upgrade as soon as one is announced. Until then, the effective control is provenance: only load optimizer checkpoints that were generated internally and whose integrity is verified (for example via checksum or signature), because isolated pipelines that consume solely internally-produced checkpoints are not exposed, whereas any workflow that accepts third-party or user-supplied checkpoints remains at risk. Where untrusted checkpoints must be inspected, do so inside a sandbox or container with no network access and minimal credentials, accepting the operational overhead and reduced throughput that isolation introduces. Note that the CVSS vector requires user interaction, so training users to treat checkpoint files as executable content reduces but does not eliminate exposure.

Affected VersionsENISA

DeepSpeed 0.18.9

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 flaw is classified CWE-502 (Deserialization of Untrusted Data) and lives in DeepSpeed's checkpoint parsing logic, specifically the parse_optim_states path that reads optimizer state data when a checkpoint is resumed. DeepSpeed checkpoints are serialized Python/pickle-based structures, so deserializing attacker-controlled content without validation allows object-graph manipulation that results in code execution inside the training or inference process. Because the weakness sits in the consuming library rather than in a network service, the CVSS 3.0 vector is AV:L/AC:L/PR:N/UI:R with high confidentiality, integrity and availability impact - code runs only with the privileges of the process performing the load. The trigger mechanics beyond 'parsing of checkpoint data' are not described in the available sources, and the wildcard CPE provides no version boundary, so the precise affected-version cutoff is unconfirmed.

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 by the victim (AV:L, UI:R); no prior privileges needed (PR:N); deserialization yields full code execution, so C/I/A all High.

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:A/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 parse_optim_states 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-29243.

Executive ViewAI

Why It Matters

CVE-2026-136437 is a high-severity vulnerability in DeepSpeed, an open-source deep learning optimization library. Malicious checkpoint files can execute arbitrary code when loaded, risking compromise of training environments and sensitive data. Leadership should prioritize mitigation because no patch is available and the library may be widely used in AI/ML workflows, though active exploitation has not been confirmed.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: only load checkpoints from trusted, verified sources; process untrusted checkpoints in isolated environments (e.g., containers, VMs) with minimal privileges; implement file integrity checks and scanning before loading; restrict write access to checkpoint storage.

Threat Intelligence Overview

EPSS Score
0.3%
Top 87% exploitable
Prevalence
Medium
popular Microsoft deep-learning training library, common in ML teams but not everywhere
Data Quality
4 sources
Confidence: Medium

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