Skip to main content

PyTorch CVE-2026-136430

| EUVDEUVD-2026-134452 HIGH
Path Traversal (CWE-22)
2026-11-24 zdi GHSA-fpqm-mrrj-5v97
7.8
CVSS 3.0 · Vendor: zdi
View

Attack ChainAIDerived

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

  1. Access
    Craft malicious model package
  2. Delivery
    Deliver via model hub or file
  3. Exploit
    Victim loads package in AOTIModelPackageLoader
  4. Execution
    Path traversal in file operation
  5. Impact
    Execute code as current user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

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 AOTInductor model package through PyTorch's AOTIModelPackageLoader; the loader fails to validate the user-supplied path before using it in file operations (CWE-22 directory traversal). The decisive limiting factor is user interaction (UI:R): the target must actively open the malicious file or visit a malicious page that triggers the load - it is not zero-click or network-remote (AV:L). Code runs only in the context of the current user (S:U), so impact is bounded by that user's privileges. No authentication is required of the attacker (PR:N), but the flaw is only reachable in workflows that load untrusted or externally sourced model packages.

Impact

This is a genuinely actionable issue but not a drop-everything emergency. The CVSS vector CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (7.8, High) describes local attack vector with required user interaction: the victim must load a malicious model package, which yields full confidentiality, integrity and availability impact in the user's context. It is NOT a network-remote, zero-click flaw despite the 'Remote Code Execution' title - AV:L plus UI:R means the malicious artifact has to reach and be processed on the target machine. No EPSS score was supplied, so exploitation probability cannot be quantified. The vulnerability is NOT in CISA KEV and there is no confirmed active exploitation. No working public exploit code is referenced - the only reference is the ZDI advisory itself. The vuln.today decision label is 'this_week', consistent with a credible ZDI-reported RCE that warrants prompt patching but is gated by user interaction rather than mass-automatable network exploitation. No SSVC fields (automatable/technical impact) were provided in the input, so that framework cannot be applied here. Net: prioritize for scheduled remediation this week, especially in ML pipelines that load untrusted model artifacts; it is a real priority but mitigated by the user-interaction requirement, not a wormable internet-facing bug.

Exploit ScenarioDerived

An attacker distributes a malicious AOTInductor model package (for example via a model hub, shared repository, or phishing) and convinces a developer or ML pipeline to load it with PyTorch's AOTIModelPackageLoader. Because the loader does not validate the user-supplied path before file operations, a directory-traversal path writes or accesses files outside the intended location, leading to code execution as the current user. No working public exploit code is referenced, only the ZDI advisory.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 24, 2026

Directory traversal in PyTorch's AOTIModelPackageLoader allows arbitrary code execution in the context of the current user when a victim loads an attacker-supplied AOTInductor model package. The CVSS 7.8 vector is local (AV:L) and requires user interaction (UI:R) with no privileges required (PR:N); exploitation is confined to workflows that load untrusted or externally sourced model packages and runs only with the victim's privileges. No public exploit or active exploitation is identified in the available data, and vuln.today assigns a this_week priority rather than an emergency response.

RemediationAI

No vendor-released patch or fixed version is identified in the available data; the ZDI advisory at https://www.zerodayinitiative.com/advisories/ZDI-26-1057/ is the reference to monitor for updated guidance. Because exploitation requires the victim to load an attacker-supplied AOTInductor model package, the practical control available from the supplied evidence is to keep untrusted or externally sourced model packages away from AOTIModelPackageLoader and to restrict model-package sources to trusted artifacts. The available data does not describe a specific feature-disable, configuration workaround, or other vendor mitigation.

Affected VersionsENISA

PyTorch 2.14.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

AOTInductor is PyTorch's ahead-of-time compilation path for producing model packages, and AOTIModelPackageLoader is the component that loads those packages. CVE-2026-136430 is a CWE-22 path traversal: the loader does not properly validate a user-supplied path before using it in file operations, so an attacker can supply a model package whose path handling escapes intended locations and leads to code execution. The supplied CPE cpe:2.3:a:pytorch_foundation:pytorch:*:*:*:*:*:*:*:* matches PyTorch broadly; no narrower affected or fixed version range is provided. The trigger details beyond loading a malicious AOTInductor model package 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

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

Exploitation needs a locally loaded malicious model package (AV:L) that the user must open (UI:R); no attacker auth (PR:N); code execution gives full C/I/A in the user context (S:U).

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:P/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

PyTorch Foundation PyTorch AOTIModelPackageLoader Directory Traversal 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 AOTInductor model package loader. The issue results from the lack of proper validation of a user-supplied path prior to using it in file operations. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-33055.

Executive ViewAI

Why It Matters

CVE-2026-136430 is a high-severity directory traversal vulnerability in PyTorch's AOTIModelPackageLoader that allows arbitrary code execution when a victim loads an attacker-crafted model package. This puts machine learning engineers and data scientists who regularly load pre-trained or third-party models at risk, potentially compromising their local environments and any sensitive data or systems they can access. Although exploitation requires user interaction and local execution, the widespread use of PyTorch in AI/ML workflows makes this a notable organizational concern.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: avoid loading untrusted model packages, enforce strict provenance and signature verification, sandbox execution with minimal privileges, and monitor for suspicious activity.

Threat Intelligence Overview

EPSS Score
0.7%
Top 49% exploitable
Prevalence
High
dominant open-source ML framework across AI/ML development and inference environments
Data Quality
3 sources
Confidence: Low

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

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

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

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

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