Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious PT2 archive file
-
DeliveryDeliver file to target (hub/email/supply chain)
-
ExploitVictim opens file in PyTorch
-
ExecutionExposed dangerous function invoked during parsing
-
ImpactExecute arbitrary code in current process
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Dangerous method exposure prevention
|
| Exploitation Conditions | Exploitation requires the victim to open/load an attacker-supplied malicious PT2 archive file (PyTorch's compiled-export/AOTInductor archive format) in a PyTorch process; the flaw is an exposed dangerous function reached during PT2 parsing. Key limiting factors per the CVSS vector: the attack vector is LOCAL (AV:L) and mandatory user interaction is required (UI:R) - the target must be socially engineered or supply-chained into opening the file. There is no network-triggered path and no authentication is required of the attacker (PR:N), but high attack complexity (AC:H) is assigned by ZDI. The specific feature, configuration, or code path within PT2 parsing that invokes the dangerous function is not detailed in the available sources, and no affected/fixed version boundary is specified. |
| Impact | Signals are mixed and point to a moderate, not emergency, priority. The ZDI-assigned CVSS 3.0 base score is 7.0 (High) with vector AV:L/AC:H/PR:N/UI:R - critically, this is a LOCAL attack vector requiring user interaction (opening a malicious file), NOT a network-reachable remote-code-execution path, despite the 'Remote Code Execution' phrasing in the title. The 'remote' label here means the attacker is remote in the sense of delivering a malicious file, but code execution is triggered locally when the victim opens it. There is no KEV listing (not confirmed actively exploited), no EPSS score was provided in the input, and no verified proof-of-concept or working exploit code is referenced - the only reference is the ZDI advisory disclosure itself. The vuln.today decision label is 'this_week', consistent with a serious-but-not-active-exploitation issue warranting prompt but not emergency patching. The triple-High impact (C:H/I:H/A:H) reflects full code execution in the context of the process loading the file. Net assessment: real and worth remediating, but the local vector plus mandatory user interaction and high attack complexity materially lower real-world risk versus a network-facing unauthenticated RCE. Missing data to note explicitly: no EPSS probability was supplied, KEV status is absent (treat as not actively exploited), and the exact trigger mechanism within PT2 parsing is not described in the available sources. |
| Exploit ScenarioDerived | An attacker crafts a malicious PT2 archive file (PyTorch's compiled-export archive format) and distributes it via a model-sharing hub, email, or supply-chain channel. A developer or ML engineer loads the file in a PyTorch workflow, and the exposed dangerous function invoked during PT2 parsing executes attacker-controlled code in the context of the current process. No public working exploit code is identified at time of analysis; 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
Arbitrary code execution in PyTorch is triggered when a user opens a crafted PT2 archive, allowing the file to run code in the context of the current process. The flaw is an exposed dangerous function reached during PT2 parsing; the independent assessment vector is local (AV:L), requires user interaction (UI:R), and needs no authentication (PR:N), and the advisory does not specify affected or fixed version boundaries. No CISA KEV entry or public exploit code is identified in the supplied data, and the available signals support a moderate this_week priority rather than emergency action.
RemediationAI
No vendor-released patch or fixed version is identified at time of analysis. Until PyTorch publishes a fix, avoid opening PT2 archives from untrusted or supply-chain sources, and treat PT2 parsing as code execution: run it in a low-privilege, sandboxed process or container with restricted filesystem and network access, and enforce file provenance controls; these compensating controls reduce exposure but do not eliminate the exposed-function flaw and may break legitimate model-loading workflows. Track ZDI-26-1056 at https://www.zerodayinitiative.com/advisories/ZDI-26-1056/ and apply the vendor update as soon as a fixed version is announced.
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
PyTorch's PT2 archive is the compiled-export/AOTInductor package format. CVE-2026-136429 is CWE-749 (exposed dangerous method or function): during parsing of a PT2 archive, PyTorch reaches a dangerous function that can execute code in the current process. The independent assessment uses CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, while ZDI lists a 7.0 score; the supplied metrics establish local access and mandatory user interaction, not a network-triggered path. The specific dangerous function, parser path, and affected/fixed version boundary are not described in available sources; the CPE is a wildcard for pytorch_foundation:pytorch and should not be read as a confirmed all-version range beyond what the advisory states.
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:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Local file-open vector (AV:L, UI:R) with no attacker auth (PR:N) and full code execution (C/I/A:H); the trigger is not described so AC:L is the typical baseline for an exposed-method parser flaw, diverging from ZDI's AC:H.
Primary rating from Vendor (zdi).
CVSS VectorVendor: zdi
DescriptionCVE.org
PyTorch Foundation PyTorch PT2 File Parsing Exposed Dangerous Method 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 open a malicious file.
The specific flaw exists within the parsing of PT2 archive files. The issue results from an exposed dangerous function. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-32653.
Zero Day Initiative Advisories
Executive ViewAI
A high-severity vulnerability in PyTorch allows a crafted PT2 archive to execute arbitrary code when opened, affecting developers and data scientists who use PyTorch to load models from untrusted sources. While no active exploitation or public exploit code has been confirmed, the potential for code execution in the context of the user's process poses a significant risk to development environments and model supply chains, warranting management attention.
No vendor-released patch identified at time of analysis; interim mitigations include restricting opening of PT2 archives to trusted sources only, verifying file integrity before loading, running PyTorch in isolated environments with least privilege, and monitoring for vendor advisories.
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
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-134451
GHSA-qx8f-9563-vr9w
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB