Skip to main content

DeepSpeed CVE-2026-136438

| EUVDEUVD-2026-134460 HIGH
Deserialization of Untrusted Data (CWE-502)
2026-11-24 zdi GHSA-95rc-6gm7-mv3h
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/config file
  2. Delivery
    Victim loads it in DeepSpeed
  3. Exploit
    Untrusted data deserialized in build_engine_from_ds_checkpoint
  4. Execution
    Attacker object executes
  5. Impact
    Arbitrary code runs 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 DeepSpeed checkpoint or model-configuration file through the build_engine_from_ds_checkpoint code path, which deserializes the untrusted data without proper validation (CWE-502). The limiting factors are significant: the vector is local (AV:L) and mandatory user interaction (UI:R) is required - the target must actively open the malicious file or visit a page that delivers it; there is no remote, interaction-free trigger. Realistic risk is confined to environments that ingest DeepSpeed checkpoints/configs from untrusted or third-party sources (shared model hubs, downloaded artifacts). The exact DeepSpeed versions affected and any fixed version are not stated in the available sources.

Impact

This is a CWE-502 deserialization-to-RCE flaw in DeepSpeed's build_engine_from_ds_checkpoint path, rated CVSS 7.8 (High) with vector CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. The signals are moderate rather than emergency: the attack vector is LOCAL (AV:L) and requires user interaction (UI:R) - the victim must open a malicious file or visit a malicious page that delivers a crafted checkpoint/config - which meaningfully constrains mass exploitation despite full C/I/A impact. The vuln.today decision label is 'this_week' (prioritize, but not act_now/emergency). No EPSS score was supplied, the CVE is NOT listed in CISA KEV, and no working exploit code was provided; the only reference is the ZDI advisory itself. Net: a genuine code-execution risk warranting prompt patching for anyone loading untrusted DeepSpeed checkpoints, but the local vector plus mandatory user interaction place it below internet-facing unauthenticated RCEs in urgency. Note the AV:L/UI:R combination is consistent with the 'open a malicious file' description - no conflict between vector and narrative.

Exploit ScenarioDerived

An attacker crafts a malicious DeepSpeed checkpoint or model-configuration file embedding a hostile serialized object and lures a victim (e.g., an ML engineer) into loading it - via a shared model repository, download, or a malicious page. When the victim's DeepSpeed loads the checkpoint through build_engine_from_ds_checkpoint, the untrusted data is deserialized and attacker code runs in the context of the current process. No public exploit code is identified; the ZDI advisory (ZDI-26-1064) documents the flaw but is not verified working exploit code.

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 model-configuration data in DeepSpeed's build_engine_from_ds_checkpoint path permits arbitrary code execution in the context of the current process. The assessed CVSS 7.8 (High) vector is AV:L/AC:L/PR:N/UI:R, so exploitation requires the victim to open or load an attacker-supplied DeepSpeed checkpoint or model-configuration artifact; there is no remote interaction-free trigger. No public exploit was identified at the time of analysis, and the affected and fixed version ranges are not stated in the available sources.

RemediationAI

No vendor-released patch or fixed DeepSpeed version is identified in the available sources; the ZDI advisory ZDI-26-1064 (https://www.zerodayinitiative.com/advisories/ZDI-26-1064/) is the reference to monitor for an update. Until a fix is published, restrict build_engine_from_ds_checkpoint and checkpoint-loading workflows to artifacts from trusted, provenance-verified sources and validate checksums or signatures before loading. Run checkpoint conversion or model-loading jobs in a low-privilege, isolated environment so that code executed during deserialization cannot reach production credentials or data, recognizing that this does not remove the vulnerability and may slow trusted workflows. Block or disable automatic ingestion of DeepSpeed checkpoints or model configurations from shared hubs or downloaded bundles where operationally feasible; the trade-off is reduced convenience for legitimate model distribution.

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

DeepSpeed is a deep-learning optimization library used to train and load large models, and its build_engine_from_ds_checkpoint routine consumes model configuration and checkpoint data. The flaw is CWE-502 (Deserialization of Untrusted Data): user-supplied data is deserialized without adequate validation, allowing attacker-controlled content to influence execution during parsing. The CPE cpe:2.3:a:deepspeed:deepspeed:*:*:*:*:*:*:*:* indicates the affected component is DeepSpeed itself with no version restriction expressed, but the available sources do not specify the exact serialization format, affected field, or DeepSpeed release range. The assessed vector (AV:L/AC:L/PR:N/UI:R) confirms a local attack path with mandatory user interaction; the trigger is not described in the available sources beyond parsing of model configuration data, and the report is tagged RCE and Deserialization.

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

File-borne deserialization needing the victim to load a malicious checkpoint gives AV:L and UI:R with no auth (PR:N); RCE yields full C/I/A impact.

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 build_engine_from_ds_checkpoint 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 model configuration 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-29241.

Executive ViewAI

Why It Matters

A high-severity vulnerability in DeepSpeed (CVE-2026-136438) allows arbitrary code execution when loading maliciously crafted checkpoint or model-configuration files. This affects machine learning teams using DeepSpeed for model training or inference, requiring user interaction to load a compromised artifact. Leadership should prioritize because exploitation could lead to unauthorized access, data breaches, or system compromise within AI development environments.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include: only load DeepSpeed checkpoints and model-configuration files from trusted, verified sources; implement integrity checks (e.g., cryptographic hashes) before loading; run DeepSpeed processes in isolated environments with least privilege; restrict user permissions to limit the impact of code execution; and monitor for anomalous behavior.

Threat Intelligence Overview

EPSS Score
0.3%
Top 87% exploitable
Prevalence
Medium
popular ML training/inference library, but specific to deep-learning workflows
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