Remote Code Execution in PyTorch PT2 File Parsing by PyTorch Foundation
CVE-2026-136426
7.8HIGH
What is CVE-2026-136426?
The vulnerability within the PyTorch framework arises from improper validation within the PT2 file parsing process. This oversight allows attackers to inject and execute arbitrary Python code in the context of the affected application, potentially compromising system integrity. Exploiting this vulnerability requires interaction with the library, though the precise attack vector may change based on the specific implementation of PyTorch. It is advised to implement measures to ensure files are validated before processing to mitigate this risk.
Affected Version(s)
PyTorch 2.13.0
