PyTorch Foundation PyTorch load_state_dict_from_url Deserialization of Untrusted Data Remote Code Execution Vulnerability
- State
- Published
- Severity
- 7.8 High
- Published
- Nov 24, 2026
- Updated
- Nov 25, 2026
- Reserved
- Nov 24, 2026
Description
PyTorch Foundation PyTorch load_state_dict_from_url Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of PyTorch Foundation PyTorch. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
The specific flaw exists within the load_state_dict_from_url function. The issue results from the lack of proper validation of user-supplied data, which can result in deserialization of untrusted data. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-32601.
| Product | Versions |
|---|---|
| PyTorch PyTorch Foundation | 2.13.0 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.0 | 7.8 High | zdi |
Weaknesses
- CWE-502 Deserialization of Untrusted Data
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.