Zero Day Initiative (ZDI) says the parser uses a user-supplied string to execute code without proper validation. The advisory describes potential remote attackers, while requiring an application to interact with the library.The ZDI-assigned CVSS 3.0 score is 7.8 (High), with user interaction required in its vector. Security teams can use the vulnerability intelligence platform as a reference while checking their own PT2 intake paths. The advisory does not identify a fixed PyTorch release.
What it allows
How Does CVE-2026-136426 Affect PT2 File Parsing?
ZDI locates the flaw in PT2 file parsing. A user-supplied string is not properly validated before it is used to execute Python code. If an application processes an attacker-controlled PT2 file through the vulnerable path, code can run with the current process's privileges. This conditional attack path is our reading of ZDI's description, not a claim that every PT2 consumer is exposed.
ZDI says attack vectors may differ by implementation and that interaction with the library is required. Its CVSS vector records a local attack vector, low attack complexity and required user interaction, while the narrative describes potential remote attackers. Treat the application's file intake path and the permissions of its PyTorch process as the practical exposure questions. The PyTorch and DeepSpeed checkpoint intake playbook addresses related model-file handling decisions.
Brandefense Blackhole counted 1 dark-chat item mentioning CVE-2026-136426 from 31 August through 29 November 2026. The measured unit is an identifier-mentioning chat item; it does not establish an incident or active exploitation. CISA's 27 November 2026 KEV catalog did not list this CVE. These signals do not replace a review of how an application accepts PT2 files.
Who is affected
Which PyTorch Installations Need Review?
The ZDI CNA record lists PyTorch 2.13.0 as affected and marks the default status of other versions unknown. It gives no affected version range or fixed boundary. Inventory the PyTorch version actually running in each service that accepts or opens PT2 files. Do not treat an unlisted version as safe solely because the record names only 2.13.0.
ZDI recommends restricting interaction with the product as its mitigation. In practice, limit PT2 intake to files from trusted sources and keep untrusted files out of processing paths; this is our operational interpretation. Review whether users or upstream systems can submit files that reach the parser. The related PyTorch checkpoint deserialization profile concerns a separate flaw and should receive its own exposure check.
Timeline
- 2026-07-17
ZDI reported the vulnerability through the vendor's GitHub account.
- 2026-07-23
ZDI says the vendor rejected the report as expected behavior and closed the advisory.
- 2026-07-29
ZDI replied with evidence from the product documentation.
- 2026-11-03
ZDI notified the vendor that it intended to publish the case as a 0-day advisory.
- 2026-11-24
ZDI publicly released and updated its advisory.
What to do
-
Map PT2 intake
Identify services and workflows that open PT2 files, the sources allowed to supply them, and the PyTorch version each process runs. Prioritize paths that accept files from outside the trust boundary.
-
Restrict file interaction
Follow ZDI's mitigation by restricting interaction with affected PyTorch processing paths. Allow only trusted PT2 inputs and review process permissions; these are our implementation steps, not a vendor patch claim.
-
Investigate unexpected processing
Review file intake and process activity for unexpected PT2 processing or Python execution under the affected service account. This is a defensive investigation inferred from ZDI's described code-execution impact, not a published detection signature.
-
Track and verify a vendor resolution
Monitor PyTorch's official release and advisory channels for a confirmed fix. If a fixed release is published, deploy it and verify the running version and file intake controls; no fixed boundary is in the current CNA record.
What Brandefense can do
- Watch your stack for exploited flaws
Name the vendors and products you run, and Brandefense alerts you when a CVE in them is exploited.
- See CVE-2026-136426 in Brandefense Atlas
The Atlas record of CVE-2026-136426: severity, exploitation status and the sources behind it.
- Vulnerability intelligence platform
Brandefense Vulnerability Intelligence follows which vulnerabilities attackers are using, so your team can patch what is under attack first.
Frequently Asked Questions
Does CVE-2026-136426 require a PT2 file to be processed?
The flaw is in PT2 file parsing, and ZDI says interaction with PyTorch is required. Exposure therefore depends on an application's file intake and processing path.
Which PyTorch version does the CVE record identify?
The ZDI CNA record marks PyTorch 2.13.0 affected. It leaves the status of other versions unknown and gives no fixed release boundary.
What mitigation does ZDI recommend?
ZDI recommends restricting interaction with the product. Teams should limit PT2 processing to trusted files while monitoring official channels for a confirmed resolution.
Sources
- ZDI-26-1052: PyTorch PT2 File Parsing Code InjectionZero Day Initiative
- CVE-2026-136426 CNA recordZero Day Initiative via CVE.org
- Known Exploited Vulnerabilities catalogCISA