CVE-2026-136426 — PyTorch Foundation PyTorch
One of 8 PyTorch Foundation PyTorch vulnerabilities published together by NVD: our article covers all of them.
PythonVulnerabilitiesResearch article
PyTorch PT2 File Parsing Code Injection Vulnerability
| CVE | CVE-2026-136426 |
|---|---|
| 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-136426 is a remote code execution vulnerability in PyTorch's PT2 file parsing functionality. The CVSS 3.0 score is 7.8 HIGH, scored by zdi-disclosures@trendmicro.com. The vulnerability affects PyTorch version 2.13.0. The reviewed sources do not report exploitation. The sources do not list a fixed version for this CVE.
Key points
- CVE-2026-136426 is a remote code execution vulnerability in PyTorch's PT2 file parsing functionality [1].
- The CVSS 3.0 score is 7.8 HIGH, scored by zdi-disclosures@trendmicro.com [1].
- The vulnerability affects PyTorch version 2.13.0 [1].
- The reviewed sources do not report exploitation [2].
- The EPSS score for this CVE is 0.0046 (0.46%), indicating a low probability of exploitation in the next 30 days [3].
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS 3.0 | Published | Last Modified | Record Status |
|---|---|---|---|---|---|---|---|
| CVE-2026-136426 | PyTorch Foundation | PyTorch | CWE-94 | 7.8 HIGH, scored by zdi-disclosures@trendmicro.com | 2026-11-24T19:18:18 | 2026-11-25T05:18:34 | Awaiting Analysis |
Vulnerability description
A security flaw in how PT2 files are processed enables remote attackers to run unauthorized code on systems using the affected PyTorch version. The issue stems from inadequate checks on a string provided by users prior to its use in executing Python code. An attacker could exploit this to run code within the current process [1].
Attack surface and exploitation prerequisites
According to the CVSS vector, the attack is local (AV:L) and requires user interaction (UI:R) [1]. The attacker must engage with the library for the exploit to succeed [1].
Impact analysis
The CVSS vector indicates high impact on confidentiality (C:H), integrity (I:H), and availability (A:H). The flaw lets an attacker run arbitrary code within the scope of the running process [1].
Affected products and versions
| Affected Version | Fixed Version |
|---|---|
| PyTorch 2.13.0 | not listed |
Exploitation and threat intelligence status
CVE-2026-136426 is not listed in the CISA Known Exploited Vulnerabilities Catalog as of 2026-11-26 [2]. The EPSS score for this CVE is 0.0046 (0.46%), suggesting a low probability of exploitation in the next 30 days [3].
Detection and exposure assessment
Readers can assess their exposure by checking whether their installed version of PyTorch is within the affected range [1].
Remediation
The sources do not list a fixed version for this CVE. The sources do not list a fixed version or patch for this CVE; general guidance is to monitor the vendor for updates.
Remediation checklist
- Monitor for updates from the PyTorch Foundation and apply patches when available.
- Verify if the installed version of PyTorch falls within the affected range [1].
- General defensive guidance: limit local access to systems running the affected library.
Evidence gaps
- The sources do not describe the affected component's internals.
- The sources do not mention a workaround.
- The sources do not describe the attack lifecycle or specific exploitation scenarios.
- The sources do not provide indicators of compromise.
- The sources do not list a fixed version for this CVE.
References
- CVE-2026-136426 record. NIST National Vulnerability Database (NVD), 2026-11-25. https://nvd.nist.gov/vuln/detail/CVE-2026-136426. 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-136426. FIRST, 2026-11-25. https://api.first.org/data/v1/epss?cve=CVE-2026-136426. Accessed 2026-11-26.
Summary
PyTorch Foundation PyTorch PT2 File Parsing Code Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of PyTorch. Interaction with this library is required to exploit this vulnerability but attack vectors may vary depending on the implementation. The specific flaw exists within the parsing of PT2 files. The issue results from the lack of proper validation of a user-supplied string before using it to execute Python code. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-32602.
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-94: Improper Control of Generation of Code ('Code Injection')
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-136426?
CVE-2026-136426 is a remote code execution vulnerability in PyTorch's PT2 file parsing functionality. The CVSS 3.0 score is 7.8 HIGH, scored by zdi-disclosures@trendmicro.com. The vulnerability affects PyTorch version 2.13.0. The reviewed sources do not report exploitation. The sources do not list a fixed version for this CVE. Weakness type: Improper Control of Generation of Code ('Code Injection') (CWE-94).
How severe is CVE-2026-136426?
CVE-2026-136426 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-136426 being exploited?
Not as far as is known: CVE-2026-136426 is not in CISA's Known Exploited Vulnerabilities catalog as of November 28, 2026. EPSS estimates a 0.5% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-136426?
PyTorch Foundation PyTorch 2.13.0.
How do I fix CVE-2026-136426?
Monitor for updates from the PyTorch Foundation and apply patches when available. Verify if the installed version of PyTorch falls within the affected range. General defensive guidance: limit local access to systems running the affected library.