Home › CVE › Vulnerabilities
CVE-2026-136428 — PyTorch Foundation PyTorch
One of 8 PyTorch Foundation PyTorch vulnerabilities published together by NVD: our article covers all of them.
VulnerabilitiesResearch article
PyTorch Loadcompiledfunction Deserialization Flaw Enables Remote Code Execution
| CVE | CVE-2026-136428 |
|---|---|
| Vendor and product | PyTorch Foundation PyTorch |
| Published | November 26, 2026 02:10 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
CVE-2026-136428 impacts PyTorch Foundation PyTorch version 2.13.0, enabling remote attackers to run arbitrary code via deserialization of untrusted data. The CVSS 3.0 score is 7.8 HIGH, assigned by zdi-disclosures@trendmicro.com [1]. The reviewed sources indicate no confirmed exploitation [2]. Users are advised to avoid handling suspicious files to reduce risk [1].
Key points
- CVE-2026-136428 affects PyTorch Foundation PyTorch version 2.13.0 [1].
- The vulnerability allows remote attackers to run arbitrary code through deserialization of untrusted data [1].
- Exploitation requires user interaction, as the attacker must open a malicious file [1].
- The CVSS 3.0 score is 7.8 HIGH, as scored by zdi-disclosures@trendmicro.com [1].
- The reviewed sources do not confirm any exploitation [2].
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS 3.0 | Published | Last Modified | Record Status |
|---|---|---|---|---|---|---|---|
| CVE-2026-136428 | PyTorch Foundation | PyTorch | CWE-502 | 7.8 HIGH, scored by zdi-disclosures@trendmicro.com [1] | 2026-11-24T19:18:18 | 2026-11-25T05:18:34 | Awaiting Analysis |
Vulnerability description
A vulnerability in the loadcompiledfunction function enables remote adversaries to run unauthorized code on systems using vulnerable PyTorch versions. This happens when the system processes a malicious file, which requires user involvement to exploit [1]. The issue arises from insufficient validation of user-provided data, which can result in the processing of untrusted data [1].
Attack surface and exploitation prerequisites
The CVSS vector shows the attack needs user interaction. The attacker must open a harmful file for the exploit to work [1]. The CVSS 3.0 vector lists a local attack vector, while the CVE record describes remote attackers who must get a user to open a malicious file [1].
Impact analysis
The CVSS vector highlights a high impact on confidentiality, integrity, and availability. A malicious actor might run code within the scope of the running process [1]. This could allow unauthorized access to sensitive information and interfere with normal operations [1].
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-136428 is not included in the CISA Known Exploited Vulnerabilities Catalog as of 2026-11-26 [2]. The EPSS score suggests a 0.58% chance of exploitation within the next 30 days [3]. This estimate is not proof of actual exploitation [3].
Detection and exposure assessment
Users should verify if they are running PyTorch version 2.13.0, which is vulnerable [1]. There are no specific detection methods provided by the sources [1].
Remediation
The sources do not specify a fixed version for this issue [1]. Users should avoid handling files from unknown sources to prevent exploitation [1].
Remediation checklist
Evidence gaps
- The sources do not describe the internal workings of the affected component.
- The sources do not clarify the root cause beyond the CWE-502 classification.
- The sources do not provide a workaround for the vulnerability.
- The sources do not mention a detection method or signature for this vulnerability.
- The sources do not list a fixed version for the affected product.
References
- CVE-2026-136428 record. NIST National Vulnerability Database (NVD), 2026-11-25. https://nvd.nist.gov/vuln/detail/CVE-2026-136428. 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-136428. FIRST, 2026-11-25. https://api.first.org/data/v1/epss?cve=CVE-2026-136428. Accessed 2026-11-26.
Summary
PyTorch Foundation PyTorch load_compiled_function 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 load_compiled_function 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.
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-136428?
CVE-2026-136428 impacts PyTorch Foundation PyTorch version 2.13.0, enabling remote attackers to run arbitrary code via deserialization of untrusted data. The CVSS 3.0 score is 7.8 HIGH, assigned by zdi-disclosures@trendmicro.com. The reviewed sources indicate no confirmed exploitation. Users are advised to avoid handling suspicious files to reduce risk. Weakness type: Deserialization of Untrusted Data (CWE-502).
How severe is CVE-2026-136428?
CVE-2026-136428 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-136428 being exploited?
Not as far as is known: CVE-2026-136428 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-136428?
PyTorch Foundation PyTorch 2.13.0.
How do I fix CVE-2026-136428?
Avoid opening files from untrusted sources to prevent exploitation. Monitor system logs for signs of unauthorized access (general guidance, not from the sources). Check whether PyTorch version 2.13.0 is installed; the sources list no fixed version to update to.