Home › CVE › Vulnerabilities
CVE-2026-136427 — PyTorch Foundation PyTorch
One of 8 PyTorch Foundation PyTorch vulnerabilities published together by NVD: our article covers all of them.
VulnerabilitiesResearch article
PyTorch AOTIModelPackageLoader Command Injection Vulnerability
| CVE | CVE-2026-136427 |
|---|---|
| Vendor and product | PyTorch Foundation PyTorch |
| Published | November 25, 2026 01:10 UTC |
| Research cut-off | November 24, 2026 23:30 UTC |
| Sources reviewed | 2: NVD record (last modified 2026-11-24); CISA KEV catalog |
Executive summary
CVE-2026-136427 is a command injection flaw in PyTorch's AOTIModelPackageLoader component, rated with a CVSS 3.0 score of 7.8 HIGH [1]. The flaw impacts PyTorch version 2.12.1 and requires user interaction to exploit [1]. The reviewed sources do not indicate any known exploitation [2]. The sources do not list a fixed version for this CVE, so no patched release is identified [1].
Key points
- CVE-2026-136427 is a command injection vulnerability in PyTorch's AOTIModelPackageLoader [1].
- The CVSS 3.0 score is 7.8 HIGH, scored by zdi-disclosures@trendmicro.com [1].
- The vulnerability affects PyTorch version 2.12.1 [1].
- The reviewed sources do not report exploitation [2].
- The sources do not identify a fixed version for this CVE [1].
Vulnerability identification
| Field | Value |
|---|---|
| CVE ID | CVE-2026-136427 |
| Vendor | PyTorch Foundation |
| Product | PyTorch |
| CWE | CWE-78 |
| CVSS 3.0 | 7.8 HIGH, scored by zdi-disclosures@trendmicro.com [1] |
| Published | 2026-11-24T19:18:18 |
| Last Modified | 2026-11-24T20:11:46 |
| Record Status | Awaiting Analysis |
Vulnerability description
This vulnerability allows remote attackers to run arbitrary code on systems using PyTorch. The issue arises because a user-provided string is not properly validated before being used in a system call [1]. An attacker could take advantage of this flaw to execute code with the privileges of the current user [1].
Attack surface and exploitation prerequisites
The CVSS vector indicates that the attack requires local access (AV:L), no prior privileges (PR:N), and user interaction (UI:R). Exploiting the flaw demands that someone actively engage with this library, and the ways an attack can be carried out may differ based on how it is implemented [1].
Impact analysis
The CVSS vector shows a high impact on confidentiality (C:H), integrity (I:H), and availability (A:H). The description points out that an attacker might execute arbitrary commands with the privileges of the user currently logged in [1].
Affected products and versions
| Affected Version | Fixed Version |
|---|---|
| PyTorch 2.12.1 | not listed |
Exploitation and threat intelligence status
CVE-2026-136427 is not included in the CISA Known Exploited Vulnerabilities Catalog as of 2026-11-24 [2]. The reviewed sources do not report any confirmed exploitation [2].
Detection and exposure assessment
Users may want to verify whether their PyTorch installation is affected. No specific detection steps are provided by the sources.
Remediation
The sources do not list a fixed version for this CVE. No mitigation strategies are provided by the sources.
Remediation checklist
- Checking whether your PyTorch version is in the affected range is general defensive guidance.
- Monitor for any updates or advisories from the vendor.
- Implement network segmentation to limit access to vulnerable systems.
Evidence gaps
- The sources do not describe the affected component's internals.
- The sources do not explain the root cause beyond the CWE name.
- The sources do not describe how the flaw works in technical terms.
- The sources do not mention any exploitation scenarios or attack lifecycle.
- The sources do not provide indicators of compromise.
- The sources do not mention a workaround.
References
- CVE-2026-136427 record. NIST National Vulnerability Database (NVD), 2026-11-24. https://nvd.nist.gov/vuln/detail/CVE-2026-136427. Accessed 2026-11-24.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-24. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-24.
Summary
PyTorch Foundation PyTorch AOTIModelPackageLoader Command 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 AOTIModelPackageLoader. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-32262.
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-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| PyTorch Foundation PyTorch | 2.12.1 | — |
References by type
Other references
Affected
- PyTorch Foundation PyTorch
Frequently asked questions
What is CVE-2026-136427?
CVE-2026-136427 is a command injection flaw in PyTorch's AOTIModelPackageLoader component, rated with a CVSS 3.0 score of 7.8 HIGH. The flaw impacts PyTorch version 2.12.1 and requires user interaction to exploit. The reviewed sources do not indicate any known exploitation. The sources do not list a fixed version for this CVE, so no patched release is identified. Weakness type: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (CWE-78).
How severe is CVE-2026-136427?
CVE-2026-136427 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-136427 being exploited?
Not as far as is known: CVE-2026-136427 is not in CISA's Known Exploited Vulnerabilities catalog as of November 28, 2026. EPSS estimates a 0.7% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-136427?
PyTorch Foundation PyTorch 2.12.1.
How do I fix CVE-2026-136427?
Checking whether your PyTorch version is in the affected range is general defensive guidance. Monitor for any updates or advisories from the vendor. Implement network segmentation to limit access to vulnerable systems.