CVE-2026-136430: (0Day) PyTorch Foundation PyTorch AOTIModelPackageLoader Directory Traversal Remote Code Execution Vulnerability
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.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to exploitation?
Users of affected PyTorch installations are exposed when they visit a malicious page or open a malicious file that causes the AOTInductor model package loader to process attacker-controlled path data. Code executes in the context of the current user.
What must an attacker do to exploit this issue?
An attacker must induce the target to interact with malicious content, specifically by visiting a malicious page or opening a malicious file. The exploit relies on supplying a path that is not properly validated before file operations occur.
What is the impact if exploitation succeeds?
A successful exploit can result in arbitrary code execution with the privileges of the current user. The reported impact includes compromise of confidentiality, integrity, and availability.