Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Vulnerabilities

CVE-2026-136431 — PyTorch Foundation PyTorch

High · CVSS 7.8EPSS 0.6% First seen November 24, 2026

One of 8 PyTorch Foundation PyTorch vulnerabilities published together by NVD: our article covers all of them.

Vulnerabilities

Research article

PyTorch Loadstatedictfromurl Deserialization Flaw Allows Remote Code Execution

CVECVE-2026-136431
Vendor and productPyTorch Foundation PyTorch
PublishedNovember 26, 2026 02:05 UTC
Research cut-offNovember 26, 2026 01:40 UTC
Sources reviewed3: NVD record (last modified 2026-11-25); CISA KEV catalog; FIRST EPSS (2026-11-25)

Executive summary

A flaw in the PyTorch Foundation PyTorch loadstatedictfromurl function allows remote attackers to execute arbitrary code, as noted in the CVE record [1]. The vulnerability affects version 2.13.0 [1], and the reviewed sources do not confirm any exploitation [2]. The sources do not list a fixed version; monitoring for vendor updates is general guidance.

Key points

  • The PyTorch Foundation PyTorch loadstatedictfromurl function has a flaw related to deserialization of untrusted data [1].
  • The vulnerability is rated CVSS 3.0 7.8 HIGH by zdi-disclosures@trendmicro.com [1].
  • The vulnerability affects version 2.13.0 of PyTorch Foundation PyTorch [1].
  • The reviewed sources do not report any exploitation [2].
  • The EPSS score estimates a 0.58% probability of exploitation within the next 30 days [3].

Vulnerability identification

CVE IDVendorProductCWECVSS 3.0PublishedLast ModifiedRecord Status
CVE-2026-136431PyTorch FoundationPyTorchCWE-5027.8 HIGH2026-11-24T19:18:182026-11-25T05:18:34Awaiting Analysis

Vulnerability description

The loadstatedictfromurl function in PyTorch Foundation PyTorch contains a flaw that enables remote attackers to run arbitrary code on vulnerable systems [1]. To exploit this, a user must interact with a malicious page or file [1]. The issue arises from insufficient validation of user-provided data, which can lead to the deserialization of untrusted inputs [1]. An attacker can take advantage of this to run code in the current process context [1].

Attack surface and exploitation prerequisites

The CVSS 3.0 vector lists local access (AV:L), no privileges required (PR:N), and user interaction required (UI:R) [1]. The attack surface is limited to systems where users engage with malicious content [1].

Impact analysis

The CVSS vector highlights high impact on confidentiality (C:H), integrity (I:H), and availability (A:H) [1]. The vulnerability lets an attacker run code within the scope of the running process [1]. The record does not describe specific consequences beyond that.

Affected products and versions

Affected ProductAffected VersionFixed Version
PyTorch Foundation PyTorch2.13.0not listed

Exploitation and threat intelligence status

CVE-2026-136431 is not included in the CISA Known Exploited Vulnerabilities Catalog as of 2026-11-26 [2]. The EPSS score predicts a 0.58% chance of exploitation within the next 30 days [3]. This is a statistical estimate and not definitive proof of exploitation [3].

Detection and exposure assessment

The record lists PyTorch Foundation PyTorch version 2.13.0 as affected [1]. The sources do not provide specific detection methods or signatures [1].

Remediation

The sources do not mention a fixed version for this vulnerability [1]. Monitoring vendor updates for a fix is general guidance.

Remediation checklist

  1. Monitoring vendor updates for a fixed version is general guidance; the sources do not name a fixed version.
  2. Apply patches as they become available.
  3. Review system configurations to ensure no untrusted data is being deserialized.

Evidence gaps

  • The sources do not describe the internal workings of the affected component.
  • The sources do not provide a detailed explanation of the root cause beyond the CWE identifier.
  • The sources do not describe the technical mechanics of the flaw.
  • The sources do not mention any workaround or compensating control.
  • The sources do not provide a detection method or signature.

References

  1. CVE-2026-136431 record. NIST National Vulnerability Database (NVD), 2026-11-25. https://nvd.nist.gov/vuln/detail/CVE-2026-136431. Accessed 2026-11-26. CVE identification, vulnerability description, CVSS scores, CWE, affected versions
  2. Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-26. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-26. Exploitation status
  3. EPSS score for CVE-2026-136431. FIRST, 2026-11-25. https://api.first.org/data/v1/epss?cve=CVE-2026-136431. Accessed 2026-11-26. EPSS score and threat intelligence status

Written with AI assistance from the 3 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

Summary

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 7.8 CVSS 3.0 base score from the CNA (trendmicro.com)

An attacker without an account can exploit this with local access if a user is tricked into an action.

Attack from
local access (a logged-in user, or a malicious file opened on the device)
Attack complexity
low (no special conditions)
Login needed
no
User action needed
yes, someone must click, open or visit something
Scope
stays within the vulnerable component
Impact
high on confidentiality, integrity and availability

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

Weakness

  • CWE-502: Deserialization of Untrusted Data

Affected and fixed versions

ProductAffected versionsFixed in
PyTorch Foundation PyTorch2.13.0—

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Other references

Details from NVD (public domain).

Affected

  • PyTorch Foundation PyTorch

Frequently asked questions

What is CVE-2026-136431?

A flaw in the PyTorch Foundation PyTorch loadstatedictfromurl function allows remote attackers to execute arbitrary code, as noted in the CVE record. The vulnerability affects version 2.13.0, and the reviewed sources do not confirm any exploitation. The sources do not list a fixed version; monitoring for vendor updates is general guidance. Weakness type: Deserialization of Untrusted Data (CWE-502).

How severe is CVE-2026-136431?

CVE-2026-136431 has a CVSS 3.0 base score of 7.8 (high), from the CNA (trendmicro.com). An attacker without an account can exploit this with local access if a user is tricked into an action.

Is CVE-2026-136431 being exploited?

Not as far as is known: CVE-2026-136431 is not in CISA's Known Exploited Vulnerabilities catalog as of November 28, 2026. EPSS estimates a 0.6% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-136431?

PyTorch Foundation PyTorch 2.13.0.

How do I fix CVE-2026-136431?

Monitoring vendor updates for a fixed version is general guidance; the sources do not name a fixed version. Apply patches as they become available. Review system configurations to ensure no untrusted data is being deserialized.

Timeline & sources

References