CVE-2026-136431 PyTorch Foundation PyTorch load_state_dict_from_url Deserialization of Untrusted Data Remote Code Execution Vulnerability.

Published Updated

CVSS score

High

7.8/10

CVSS 3.0 · Scored by Zero Day Initiative Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
None listed
No fixed version published
Attack path
Local or same network
No login, a user must click or open something

What is CVE-2026-136431?

CVE-2026-136431 is a high-severity vulnerability in PyTorch, published on 24 Nov 2026.

Official 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.

Weakness: CWE-502

How severe is CVE-2026-136431?

CVE-2026-136431 scores 7.8 out of 10 under CVSS 3.0, which is high severity. It was scored by Zero Day Initiative.

Attack vector
Local
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Which versions are affected by CVE-2026-136431?

How do I fix CVE-2026-136431?

No fix has been published for CVE-2026-136431 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-136431 being exploited?

There is no known exploitation of CVE-2026-136431 in the wild and no public exploit code.

Sources

Also known as GHSA-m6wf-3m4q-fm89, UBUNTU-CVE-2026-136431.

Is CVE-2026-136431 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free