Deserialization of Untrusted Data in PyTorch from PyTorch Foundation
CVE-2026-136431

7.8HIGH

Key Information:

Status
Vendor
CVE Published:
24 November 2026

What is CVE-2026-136431?

The PyTorch load_state_dict_from_url function contains a vulnerability that allows remote attackers to execute arbitrary code. The flaw arises from inadequate validation of user-supplied data during the deserialization process. By enticing a user to visit a malicious page or open a compromised file, an attacker can exploit this weakness to execute arbitrary code within the context of the current process. This highlights the need for stricter input validations to mitigate risks associated with deserializing untrusted data.

Affected Version(s)

PyTorch 2.13.0

References

CVSS V3.0

Score:
7.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.