# CVE-2026-136427: PyTorch Foundation PyTorch AOTIModelPackageLoader Command Injection Remote Code Execution Vulnerability

- Severity: High 7.8 (CVSS:3.0, scored by zdi) `CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.65%, higher than 52% of CVEs (2026-12-01)
- Published: 2026-11-24T18:40:24.129Z
- Modified: 2026-12-01T20:18:45.597Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: zdi

## Description

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.

(As written by CVE List.)

## Affected

- PyTorch Foundation PyTorch: 2.12.1

## References

- <https://www.zerodayinitiative.com/advisories/ZDI-26-1053/>

## Sources

- CVE List: [CVE-2026-136427](https://www.cve.org/CVERecord?id=CVE-2026-136427), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-136427](https://nvd.nist.gov/vuln/detail/CVE-2026-136427), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-136427 · Whole record: https://cve.day/CVE-2026-136427.json · Rebuilt by cve.day 2026-12-01T20:32:27.367Z
