Code execution in PyTorch via crafted PT2 archive parsing
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.0 · CNA. Fix status from CNA and Red Hat.
Summary
PyTorch Foundation PyTorch 2.13.0 is affected. The parser for PT2 archive files exposes a dangerous function (CWE-749), which lets a remote attacker run code in the context of the current process. Exploitation requires that a user open a malicious file.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
PyTorch Foundation PyTorch PT2 File Parsing Exposed Dangerous Method Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of PyTorch Foundation PyTorch. User interaction is required to exploit this vulnerability in that the target must open a malicious file. The specific flaw exists within the parsing of PT2 archive files. The issue results from an exposed dangerous function. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-32653.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| PyTorch Foundation | PyTorch | 2.13.0 | — | No fix listed | CNA |
- PyTorch VendorPyTorch Foundation Affected 2.13.0 Fixed in — No fix listed CNA
Remediation
The sources list no fixed version for PyTorch. Red Hat lists Lightspeed Core, Red Hat AI Inference Server, Red Hat Ansible Automation Platform 2, Red Hat Enterprise Linux AI (RHEL AI) 3 and Red Hat OpenShift AI (RHOAI) as affected, with no fix plan available.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Lightspeed Core | Affected | No fix yet |
| Red Hat AI Inference Server | Affected | No fix yet |
| Red Hat Ansible Automation Platform 2 | Affected | No fix yet |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | Affected | No fix yet |
| Red Hat OpenShift AI (RHOAI) | Affected | No fix yet |
Not affected: 2 products
- OpenShift Lightspeed
- Red Hat OpenShift AI (RHOAI)
Timeline
- 2026-11-24 Threatist record created from CVE-2026-136429
- 2026-11-24 Alias added: GHSA-qx8f-9563-vr9w
- 2026-11-25 CISA SSVC decision points changed
- 2026-11-27 Affected versions changed · Red Hat
- 2026-11-27 CVSS score added · Red Hat
- 2026-11-30 Affected versions changed · Red Hat
References
Other 1
More PyTorch Foundation vulnerabilities
- TI-2026-97753 PyTorch load_state_dict_from_url flaw allows remote code execution CVSS 3.0HIGH 7.8
- TI-2026-97752 Path traversal in PyTorch AOTIModelPackageLoader allows code execution CVSS 3.0HIGH 7.8
- TI-2026-97750 PyTorch load_compiled_function Deserialization Allows Remote Code Execution CVSS 3.0HIGH 7.8
- TI-2026-97749 Command injection in PyTorch AOTIModelPackageLoader CVSS 3.0HIGH 7.8
- TI-2026-97755 Untrusted data deserialization in PyTorch allows remote code execution CVSS 3.0HIGH 7.8
- TI-2026-97754 PyTorch FileSystemReader deserialization flaw allows code execution CVSS 3.0HIGH 7.8
Sources
- CVE-2026-136429 · CVE Program
- CVE-2026-136429 · NVD
- FIRST EPSS
- GHSA-qx8f-9563-vr9w · GitHub Advisory Database · CC BY 4.0
- CVE-2026-136429 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences