CVE-2026-136431: (0Day) PyTorch Foundation PyTorch load_state_dict_from_url Deserialization of Untrusted Data Remote Code Execution Vulnerability

Published Nov 24, 2026
·
Updated

PyTorch Foundation PyTorch loadstatedictfromurl 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 loadstatedictfromurl 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.

Affected Software

2 affected components
PyTorch Foundation PyTorch
PyTorch Foundation PyTorch

Event History

Nov 24, 2026
Advisory Published
via ZDI·12:00 AM
Data Sourced
via ZDI·12:00 AM
DescriptionSeverityAffected Software
CVE Published
via MITRE·06:40 PM
Data Sourced
via MITRE·06:40 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:18 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What must an attacker do to exploit this issue?

The attacker must induce the target to visit a malicious page or open a malicious file. Exploitation involves supplying untrusted data that reaches the load_state_dict_from_url function and is deserialized without proper validation.

2

What level of access does successful exploitation provide?

Successful exploitation can allow arbitrary code execution in the context of the current process. The stated impact includes compromise of confidentiality, integrity, and availability.

3

Is prior authentication or local access required?

No prior privileges are required according to the provided vector, but user interaction is required. The attack vector is local, with exploitation dependent on the target opening malicious content or visiting a malicious page.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203