cvelo
P2 · HighCVSS 7.8

PyTorch Foundation PyTorch PT2 File Parsing Code Injection Remote Code Execution Vulnerability

  • CVE-2026-136426
  • GHSA-9hqx-6m26-fqj3
  • EUVD-2026-134448

Description

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.

Text from the CVE.org record.

Affected

  • PyTorch Foundation PyTorch

    • 2.13.0

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.