CVE-2026-136426
PyTorch Foundation PyTorch PT2 File Parsing Code Injection Remote Code Execution Vulnerability
Description
PyTorch Foundation PyTorch PT2 File Parsing Code 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 parsing of PT2 files. The issue results from the lack of proper validation of a user-supplied string before using it to execute Python code. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-32602.
INFO
Published Date :
Nov. 24, 2026, 6:40 p.m.
Last Modified :
Nov. 24, 2026, 6:40 p.m.
Remotely Exploit :
No
Source :
zdi
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.0 | HIGH | 99f1926a-a320-47d8-bbb5-42feb611262e |
Solution
- Update PyTorch to the latest version.
- Validate user input before executing code.
- Review and sanitize all file parsing logic.
- Apply vendor patches promptly.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-136426 vulnerability anywhere in the article.