CVE-2026-136426: high-severity vulnerability in PyTorch
PyTorch Foundation PyTorch PT2 File Parsing Code Injection Remote Code Execution Vulnerability
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
18Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 7.8
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.
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
PyTorch Foundation · PyTorchRelated CVEs — PyTorch
In the same product, most dangerous first.
CVE-2026-136433HIGHPyTorch Foundation PyTorch torch_save_to_dcp Deserialization of Untrusted Data Remote Code Execution VulnerabilityEPSS —CVE-2026-136432HIGHPyTorch Foundation PyTorch FileSystemReader Deserialization of Untrusted Data Remote Code Execution VulnerabilityEPSS —CVE-2026-136431HIGHPyTorch Foundation PyTorch load_state_dict_from_url Deserialization of Untrusted Data Remote Code Execution VulnerabilityEPSS —CVE-2026-136430HIGHPyTorch Foundation PyTorch AOTIModelPackageLoader Directory Traversal Remote Code Execution VulnerabilityEPSS —CVE-2026-136429HIGHPyTorch Foundation PyTorch PT2 File Parsing Exposed Dangerous Method Remote Code Execution VulnerabilityEPSS —CVE-2026-136428HIGHPyTorch Foundation PyTorch load_compiled_function Deserialization of Untrusted Data Remote Code Execution VulnerabilityEPSS —