Skip to content
OpenAdvisories
High · 7.8 CVE-2026-136427 EUVD-2026-134449GHSA-3rwm-vcqc-hww8

PyTorch Foundation PyTorch AOTIModelPackageLoader Command Injection Remote Code Execution Vulnerability

Published Nov 24, 2026 · Updated Nov 25, 2026 · Assigned by zdi

Description

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.

Affected products

VendorProductAffectedFixed
PyTorch Foundation PyTorch 2.12.1 —

Advisories 1

References