Home › CVE › Vulnerabilities
CVE-2026-136431 — PyTorch Foundation PyTorch
One of 8 PyTorch Foundation PyTorch vulnerabilities published together by NVD: our article covers all of them.
VulnerabilitiesResearch article
PyTorch Loadstatedictfromurl Deserialization Flaw Allows Remote Code Execution
| CVE | CVE-2026-136431 |
|---|---|
| Vendor and product | PyTorch Foundation PyTorch |
| Published | November 26, 2026 02:05 UTC |
| Research cut-off | November 26, 2026 01:40 UTC |
| Sources reviewed | 3: 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 ID | Vendor | Product | CWE | CVSS 3.0 | Published | Last Modified | Record Status |
|---|---|---|---|---|---|---|---|
| CVE-2026-136431 | PyTorch Foundation | PyTorch | CWE-502 | 7.8 HIGH | 2026-11-24T19:18:18 | 2026-11-25T05:18:34 | Awaiting 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 Product | Affected Version | Fixed Version |
|---|---|---|
| PyTorch Foundation PyTorch | 2.13.0 | not 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
- 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.
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
- 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.
- 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.
- 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.
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.
Severity breakdown
High · 7.8
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
Weakness
- CWE-502: Deserialization of Untrusted Data
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| PyTorch Foundation PyTorch | 2.13.0 | — |
References by type
Other references
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.