HighVulnerability
CVE-2026-136426: PyTorch PT2 file parsing code injection enables remote code execution
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-136426
- Published
- Record updated
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
Summary
CVE-2026-136426 is a code injection flaw in the parsing of PT2 files in PyTorch, maintained by the PyTorch Foundation. The parser uses a user-supplied string to execute Python code without proper validation. A remote attacker who can interact with the library may run arbitrary code in the context of the current process, though attack vectors vary by implementation.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Related items
- HighCVE-2026-136438: DeepSpeed build_engine_from_ds_checkpoint Deserialization of Untrusted Data Remote Code Execution Vulnerability. This…Similar attack · NVD/CVE Database
- HighCVE-2026-136433: PyTorch torch_save_to_dcp remote code execution via untrusted deserializationSimilar attack · NVD/CVE Database
- HighCVE-2026-136432: PyTorch FileSystemReader deserialization of untrusted data allows code executionSimilar attack · NVD/CVE Database
- HighCVE-2026-136431: PyTorch deserialization of untrusted data in load_state_dict_from_urlSimilar attack · NVD/CVE Database
- HighCVE-2026-136428: PyTorch deserialization flaw in load_compiled_functionSimilar attack · NVD/CVE Database