HighVulnerability
CVE-2026-136431: PyTorch deserialization of untrusted data in load_state_dict_from_url
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-136431
- Published
- Record updated
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
Summary
PyTorch Foundation's PyTorch contains a deserialization flaw in the load_state_dict_from_url function, which fails to properly validate user-supplied data. A remote attacker can exploit it to execute arbitrary code in the context of the current process, but only if the target visits a malicious page or opens a malicious file. The issue is tracked as CVE-2026-136431 and was reported as ZDI-CAN-32601.
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
- HighZDI-26-1077: llama.cpp GGUF File Parsing HunyuanVL Heap-based Buffer Overflow Remote Code Execution VulnerabilitySimilar attack · ZDI Published Advisories
- InfoEvo Agentic Development Security and Evo Dependency Firewall Inside NVIDIA OpenShellSimilar attack · Snyk Blog