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

Home › CVE › Vulnerabilities

CVE-2026-136427 — PyTorch Foundation PyTorch

High · CVSS 7.8EPSS 0.7% 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 AOTIModelPackageLoader Command Injection Vulnerability

CVECVE-2026-136427
Vendor and productPyTorch Foundation PyTorch
PublishedNovember 25, 2026 01:10 UTC
Research cut-offNovember 24, 2026 23:30 UTC
Sources reviewed2: 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

FieldValue
CVE IDCVE-2026-136427
VendorPyTorch Foundation
ProductPyTorch
CWECWE-78
CVSS 3.07.8 HIGH, scored by zdi-disclosures@trendmicro.com [1]
Published2026-11-24T19:18:18
Last Modified2026-11-24T20:11:46
Record StatusAwaiting 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 VersionFixed Version
PyTorch 2.12.1not 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

  1. Checking whether your PyTorch version is in the affected range is general defensive guidance.
  2. Monitor for any updates or advisories from the vendor.
  3. 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

  1. 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. CVE record details, CVSS score, CWE, affected versions, and vulnerability description
  2. 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. CISA KEV status and exploitation status

Written with AI assistance from the 2 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 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.

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-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Affected and fixed versions

ProductAffected versionsFixed in
PyTorch Foundation PyTorch2.12.1—

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-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.

Timeline & sources

References