Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver malicious checkpoint file to victim
-
ExploitVictim runs torch_save_to_dcp conversion
-
ExecutionUntrusted data deserialized (CWE-502)
-
ImpactArbitrary code executes as current user
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 process an attacker-supplied PyTorch checkpoint through the checkpoint format-conversion path (torch_save_to_dcp), which deserializes untrusted data without proper validation. Concrete prerequisites: the attacker must get a crafted checkpoint/file to the target, and the target must actively open or convert it (UI:R) - there is no remotely reachable network service here (AV:L). Limiting factors that reduce real-world risk: mandatory user interaction, the need for the victim to run the specific conversion utility on attacker-controlled input, and that code runs only in the context of the current user (S:U, no privilege escalation). Default remote unauthenticated exploitation does not apply. |
| Impact | This is a local, user-interaction-dependent code-execution flaw (CVSS 3.0 7.8, AV:L/AC:L/PR:N/UI:R) rooted in CWE-502 deserialization of untrusted data within PyTorch's checkpoint format conversion utilities (torch_save_to_dcp). The CVSS vector is self-consistent with the description: AV:L plus UI:R matches a 'victim must open a malicious file or visit a malicious page' trigger rather than a remotely reachable network service, so despite the 'Remote Code Execution' title in the ZDI advisory this is not an unauthenticated network-service RCE. PR:N confirms no attacker authentication is needed, but exploitation is gated on social engineering (UI:R), which materially lowers real-world urgency compared to a wormable network flaw. No EPSS score, no CISA KEV listing, and no confirmed working exploit code were supplied; the only intelligence source is the ZDI advisory (ZDI-26-1059, ZDI-CAN-32834), and the vuln.today decision label is 'this_week' (not act_now/emergency). Net: a genuine high-severity bug worth patching promptly for teams that process third-party checkpoints, but the signals point to opportunistic/targeted social-engineering risk, not mass automated exploitation. Key missing data - EPSS, KEV, and verified PoC status - should be confirmed before escalating further. |
| Exploit ScenarioDerived | An attacker crafts a malicious PyTorch checkpoint file embedding a serialized object payload and distributes it via a model-sharing hub, email, or a malicious web page. When a victim runs the checkpoint format-conversion utility (torch_save_to_dcp) against the file, the untrusted data is deserialized and attacker-controlled code executes in the context of the current user. No verified working exploit code is identified in the supplied data; only the ZDI advisory reference exists. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 24, 2026
PyTorch's checkpoint format conversion utilities (torch_save_to_dcp) deserialize attacker-supplied checkpoint data without adequate validation, letting a crafted file execute arbitrary code in the context of the current user when the victim opens or converts it. The flaw is local and requires user interaction (CVSS 3.0 7.8, AV:L/AC:L/PR:N/UI:R/S:U), so the attacker must first deliver the malicious checkpoint and convince the target to run the conversion path; there is no remotely reachable service component and code executes only with the victim's own privileges. Exploitation status per the available intelligence: no public exploit identified at time of analysis; a public ZDI advisory (ZDI-26-1059 / ZDI-CAN-32834) documents the issue.
RemediationAI
No fixed version is listed in the supplied intelligence, so a vendor-released patch cannot be cited here; PyTorch users should consult https://www.zerodayinitiative.com/advisories/ZDI-26-1059/ and PyTorch project channels for the current fix status before assuming a patched release exists. Until a fix is confirmed, the actionable control is to avoid running the checkpoint format conversion utilities (torch_save_to_dcp) against checkpoints from untrusted or unverified sources, since the vulnerability is only reached when the victim opens or converts an attacker-supplied file; the trade-off is that this blocks legitimate conversion of externally sourced checkpoints, which would then need to be produced or vetted in a trusted environment. Because code executes with the privileges of the invoking user (S:U, no privilege escalation), running any unavoidable conversion in a low-privilege, isolated sandbox or container limits post-exploitation reach, at the cost of operational overhead rather than removing the flaw. No other workarounds are specified in the available evidence.
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 vulnerability is a CWE-502 deserialization-of-untrusted-data defect in PyTorch's checkpoint format conversion utilities, specifically the torch_save_to_dcp path that converts a checkpoint into the Distributed Checkpoint (DCP) format. Because the conversion path loads attacker-controlled checkpoint content without proper validation, malicious serialized payloads reach the deserializer and can lead to code execution under the invoking user's account. PyTorch's pickle-based checkpoint ecosystem is the relevant underlying technology; CPE data identifies pytorch_foundation:pytorch (all versions, wildcarded) as the affected product, meaning no specific version boundary is established in the supplied data. The CPE does not scope the flaw to a single release, so any deployment exposing checkpoint loading or conversion to untrusted files should be considered in scope. The precise trigger mechanics beyond the conversion-utility deserialization path are not described in the available sources.
Know when Pytorch 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
File/config-driven trigger makes it local (AV:L) with required victim interaction (UI:R); no auth needed (PR:N) and deserialization yields full code execution as the user (C/I/A:H).
Primary rating from Vendor (zdi).
CVSS VectorVendor: zdi
DescriptionCVE.org
PyTorch Foundation PyTorch torch_save_to_dcp Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of PyTorch Foundation PyTorch. 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 checkpoint format conversion utilities. 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 user. Was ZDI-CAN-32834.
Zero Day Initiative Advisories
Executive ViewAI
PyTorch's checkpoint conversion utility contains a high-severity deserialization flaw that could allow a crafted checkpoint file to execute arbitrary code under the victim's privileges when opened or converted. This affects data scientists, ML engineers, and anyone handling model files from external sources, creating a risk of sensitive data exposure, model theft, or lateral movement within research and production environments. Leadership should prioritize this because ML workflows often involve untrusted model artifacts, and a successful exploit could undermine trust in the AI pipeline and lead to regulatory or reputational damage.
No vendor-released patch identified at time of analysis. Interim mitigations: prohibit opening or converting checkpoint files from untrusted sources; process all checkpoints in sandboxed, low-privilege environments; implement integrity verification and malware scanning for checkpoint files; restrict use of torch_save_to_dcp to trusted inputs only; monitor for anomalous process execution linked to PyTorch utilities.
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.
TorchServe is a tool for serving and scaling PyTorch models in production. Rated critical severity (CVSS 9.8), this vuln
In PyTorch <=2.4.1, the RemoteModule has Deserialization RCE. Rated critical severity (CVSS 9.8), this vulnerability is
PickleScan before 0.0.23 can be bypassed by flipping specific ZIP file header flag bits, allowing malicious pickle files
In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is
PyTorch is a Python package that provides tensor computation. [CVSS 8.8 HIGH]
A vulnerability in lightning-ai/pytorch-lightning version 2.3.2 allows an attacker to cause a denial of service by sendi
Out-of-bounds heap read in PyTorch torchvision's native GIF decoder (versions through 0.28.0) lets attackers who supply
picklescan before 0.0.23 is vulnerable to a ZIP archive manipulation attack that causes it to crash when attempting to e
TorchServe is a flexible and easy-to-use tool for serving and scaling PyTorch models in production. Rated critical sever
PyTorch is a Python package that provides tensor computation with strong GPU acceleration and deep neural networks built
NVIDIA APEX for Linux contains a deserialization of untrusted data vulnerability that affects environments using PyTorch
A vulnerability, which was classified as problematic, has been found in PyTorch 2.6.0+cu124. Rated medium severity (CVSS
EUVD-2026-134455
GHSA-3rc2-9x43-cg72
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB