Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious AOTI model package
-
DeliveryDistribute via model hub or supply chain
-
ExploitVictim loads package with AOTIModelPackageLoader
-
ExecutionUnvalidated string reaches system call
-
ImpactExecute arbitrary code as current user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a victim to load an attacker-supplied model package through PyTorch's AOTIModelPackageLoader; the attacker must control the string that is passed unvalidated into a system call (CWE-78). This is a user-interaction-gated, local vector (AV:L/UI:R) - there is no listening network service, so the attacker depends on social or supply-chain delivery of a malicious package. Limiting factors: the victim must actively load the crafted package, code runs only in the context of the current user (S:U, no privilege escalation), and the description notes attack vectors 'may vary depending on the implementation,' so successful exploitation can depend on how the loader is integrated into the downstream application. |
| Impact | The input signals point to a serious but interaction-gated code-execution flaw rather than a mass-exploitable remote one. The CVSS 3.0 vector (CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, score 7.8) is internally consistent with the description: AV:L plus UI:R reflect that exploitation requires a victim to load a crafted model package through the AOTIModelPackageLoader, not a server listening on a network port - so despite the 'Remote Code Execution' label this is a victim-triggered, local attack vector, not unauthenticated network-facing exploitation. PR:N means no attacker privileges are needed, and C:H/I:H/A:H with S:U match code execution confined to the current user's context. No EPSS probability, no CISA KEV entry, and no confirmed public exploit were supplied; the only reference is the ZDI advisory itself, so exploitation is: no public exploit identified at time of analysis. The vuln.today decision label is 'this_week', indicating a prioritized-but-not-emergency triage. Net: a genuine high-severity RCE worth near-term patching given PyTorch's reach, but gated by user interaction and lacking any evidence of active or automated exploitation - treat as important hygiene, not a fire-drill. Note the signal tension worth verifying: the title says 'Remote' while the CVSS vector is AV:L (local), which is reconciled by the UI:R delivery model (user opens a malicious artifact) rather than true network reachability - confirm the intended deployment context with the vendor/ZDI. |
| Exploit ScenarioDerived | An attacker crafts a malicious AOTI model package and distributes it (for example via a model hub, shared repository, or supply-chain artifact). When a developer or application loads that package with AOTIModelPackageLoader, the unvalidated attacker-controlled string is passed into a system call, executing arbitrary OS commands as the user running the process. No confirmed public exploit is available, but ZDI documents the flaw and user interaction (loading the package) is the required trigger. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 24, 2026
Command injection in PyTorch's AOTIModelPackageLoader allows an attacker to execute arbitrary code in the context of the user who loads a crafted model package. The flaw affects PyTorch (CPE: pytorch_foundation:pytorch:*) with a 7.8 high severity score and a local, user-interaction-gated vector (AV:L/UI:R), so exploitation depends on social or supply-chain delivery rather than a listening network service. No CISA KEV entry is present and no public exploit identified at time of analysis.
RemediationAI
No vendor-released patch or fixed version is identified in the supplied data; consult ZDI-26-1053 at https://www.zerodayinitiative.com/advisories/ZDI-26-1053/ for current vendor guidance. Because exploitation requires the victim to load an attacker-supplied AOTIModelPackageLoader package, restrict the loader to packages from trusted, integrity-verified sources and disable or isolate it in applications that accept externally supplied models; the trade-off is reduced ability to consume third-party model packages. These are compensating controls for the delivery prerequisite, not a fix for the underlying CWE-78 command-injection flaw.
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 is a machine-learning library, and AOTIModelPackageLoader is the component used to load AOT-compiled model packages. The flaw is CWE-78 command injection: a user-supplied string is passed into a system call without proper validation, allowing arbitrary command execution when a crafted package is loaded. The supplied CPE is cpe:2.3:a:pytorch_foundation:pytorch:*:*:*:*:*:*:*:*, which does not narrow affected releases to a specific version range. The assessed vector is CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, meaning the victim must load an attacker-controlled package and the resulting code runs only as the current user, with no privilege escalation. The exact system call and trigger details are not described in the available sources, and the description notes that attack vectors may vary depending on how the loader is integrated into downstream applications.
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
AV:L and UI:R because the victim must load a malicious model package; PR:N since no attacker privileges are needed; C/I/A:H for full code execution as the current user.
Primary rating from Vendor (zdi).
CVSS VectorVendor: zdi
DescriptionCVE.org
PyTorch Foundation PyTorch AOTIModelPackageLoader Command Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of PyTorch. Interaction with this library is required to exploit this vulnerability but attack vectors may vary depending on the implementation.
The specific flaw exists within the AOTIModelPackageLoader. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-32262.
Zero Day Initiative Advisories
Executive ViewAI
PyTorch, a widely used machine learning framework, contains a high-severity command injection vulnerability (CVE-2026-136427) that allows attackers to execute arbitrary code when a crafted model package is loaded by a user. This impacts any organization using PyTorch for AI/ML workflows, as malicious model files could be distributed via supply chains or social engineering, potentially leading to data breaches or system compromise. Leadership should prioritize mitigation because ML adoption is growing and model sharing is common, increasing exposure.
No vendor-released patch identified at time of analysis. Interim mitigations include: load only model packages from trusted, verified sources; implement sandboxing or containerization for model execution; restrict user permissions; monitor for suspicious process creation from PyTorch; and conduct security awareness training on model supply-chain risks.
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
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
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-134449
GHSA-3rwm-vcqc-hww8
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB