Skip to main content

PyTorch CVE-2026-136429

| EUVDEUVD-2026-134451 HIGH
Exposed Dangerous Method or Function (CWE-749)
2026-11-24 zdi GHSA-qx8f-9563-vr9w
7.0
CVSS 3.0 · Vendor: zdi
View

Attack ChainAIDerived

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

  1. Access
    Craft malicious PT2 archive file
  2. Delivery
    Deliver file to target (hub/email/supply chain)
  3. Exploit
    Victim opens file in PyTorch
  4. Execution
    Exposed dangerous function invoked during parsing
  5. Impact
    Execute 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.

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

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

PyTorch 2.13.0

Affected Packages

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

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

Vendor (zdi) PRIMARY 7.0 HIGH
AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

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.

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
Red Hat 7.0 MEDIUM

Primary rating from Vendor (zdi).

CVSS VectorVendor: zdi

Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.3%
Top 83% exploitable
Prevalence
High
PyTorch is a dominant, widely deployed ML framework across AI development and production
Data Quality
3 sources
Confidence: Low
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

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
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +35
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2023-43654 CRITICAL POC
9.8 Sep 28

TorchServe is a tool for serving and scaling PyTorch models in production. Rated critical severity (CVSS 9.8), this vuln

CVE-2024-48063 CRITICAL POC
9.8 Oct 29

In PyTorch <=2.4.1, the RemoteModule has Deserialization RCE. Rated critical severity (CVSS 9.8), this vulnerability is

CVE-2025-1945 CRITICAL POC
9.8 Mar 10

PickleScan before 0.0.23 can be bypassed by flipping specific ZIP file header flag bits, allowing malicious pickle files

CVE-2022-45907 CRITICAL POC
9.8 Nov 26

In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is

CVE-2026-24747 HIGH POC
8.8 Jan 27

PyTorch is a Python package that provides tensor computation. [CVSS 8.8 HIGH]

CVE-2024-8020 HIGH POC
7.5 Mar 20

A vulnerability in lightning-ai/pytorch-lightning version 2.3.2 allows an attacker to cause a denial of service by sendi

CVE-2026-65918 HIGH POC
7.1 Jul 23

Out-of-bounds heap read in PyTorch torchvision's native GIF decoder (versions through 0.28.0) lets attackers who supply

CVE-2025-1944 MEDIUM POC
6.5 Mar 10

picklescan before 0.0.23 is vulnerable to a ZIP archive manipulation attack that causes it to crash when attempting to e

CVE-2024-35198 CRITICAL
9.8 Jul 19

TorchServe is a flexible and easy-to-use tool for serving and scaling PyTorch models in production. Rated critical sever

CVE-2025-32434 CRITICAL POC
9.3 Apr 18

PyTorch is a Python package that provides tensor computation with strong GPU acceleration and deep neural networks built

CVE-2025-33244 CRITICAL
9.0 Mar 24

NVIDIA APEX for Linux contains a deserialization of untrusted data vulnerability that affects environments using PyTorch

CVE-2025-2953 MEDIUM POC
4.8 Mar 30

A vulnerability, which was classified as problematic, has been found in PyTorch 2.6.0+cu124. Rated medium severity (CVSS

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy