Skip to main content

DeepSpeed EUVDEUVD-2026-134461

| CVE-2026-136439 HIGH
Deserialization of Untrusted Data (CWE-502)
2026-11-24 zdi GHSA-8gj7-wpcq-235c
7.8
CVSS 3.0 · Vendor: zdi
View

Attack ChainAIDerived

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

  1. Access
    Host malicious DeepSpeed checkpoint
  2. Exploit
    Lure victim to open/load file
  3. Execution
    Deserialize untrusted checkpoint data
  4. Impact
    Execute 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.

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

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

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

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

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.

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

Executive ViewAI

Why It Matters

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.

Business Impact: Medium
Compensating Controls

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

EPSS Score
0.3%
Top 87% exploitable
Prevalence
Medium
popular deep-learning training/optimization library, common in ML 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
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
Medium
Technical Impact
Total

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