CVE-2026-136428: (0Day) PyTorch Foundation PyTorch load_compiled_function Deserialization of Untrusted Data Remote Code Execution Vulnerability
PyTorch Foundation PyTorch loadcompiledfunction 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 open a malicious file.
The specific flaw exists within the loadcompiledfunction 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-32603.
Affected Software
Event History
Frequently Asked Questions
What must an attacker do to exploit this issue?
The attacker must persuade a user to open a malicious file. Exploitation occurs when PyTorch processes attacker-controlled data through the load_compiled_function function.
Does exploitation require prior access or elevated privileges?
No prior privileges are required according to the supplied CVSS vector. However, exploitation requires local access and user interaction, because the target must open the malicious file.
What level of access could successful exploitation provide?
An attacker can execute arbitrary code in the context of the current process. The stated impact includes high confidentiality, integrity, and availability effects.