CVE-2026-136426
7.8high
PyTorch Foundation PyTorch PT2 File Parsing Code Injection Remote Code Execution Vulnerability
- Severity
- 7.8high CVSS:3.0 by zdi
- Exploit likelihood
- 0.46% (higher than 41% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- zdi
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| PyTorch Foundation PyTorch | 2.13.0 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-136426 changed 2026-12-01 | CVE Terms of Use |
| NVD | CVE-2026-136426 changed 2026-12-01 | Public domain |