Home › Vulnerabilities › PyTorch Foundation
PyTorch Foundation PyTorch Batch Covers Seven High-Severity Remote Code Execution Flaws
NVD published a batch of PyTorch Foundation PyTorch vulnerabilities on 2026-11-24. The batch is described as eight records, but only seven were supplied, and all seven carry a HIGH rating for remote code execution, with six at CVSS 7.8 and one at 7.0.
What to look into
- 8 vulnerabilities in PyTorch Foundation PyTorch: 8 high (CVSS up to 7.8).
- None of them is known to be exploited yet.
- Start with CVE-2026-136432 (7.8 high): PyTorch FileSystemReader Deserialization Flaw Enables Remote Code Execution. An attacker without an account can exploit this with local access if a user is tricked into an action.
- 0 of 8 can be attacked over the network without logging in.
- Kinds of flaws: Deserialization of Untrusted Data (×4); Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'); Improper Control of Generation of Code ('Code Injection'); Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal').
Key points
- Seven of the eight batch records were supplied; all are rated HIGH for remote code execution.
- Four are deserialization flaws in FileSystemReader, torchsavetodcp, loadcompiledfunction and loadstatedictfromurl.
- CVE-2026-136427 (command injection) and CVE-2026-136430 (directory traversal) affect AOTIModelPackageLoader.
- CVE-2026-136426 is code injection in PT2 file parsing; CVE-2026-136429 is an exposed dangerous method rated 7.0.
- The sources state no known exploitation, no fixed version, and no workaround.
What the batch contains
The batch is described as eight records, but only seven were supplied for this article. Each record describes remote code execution caused by a lack of proper validation of user-supplied input. The flaws fall into a few groups.
Four are deserialization problems of untrusted data: CVE-2026-136432 in FileSystemReader, CVE-2026-136433 in the torchsavetodcp checkpoint format conversion utilities, CVE-2026-136428 in loadcompiledfunction, and CVE-2026-136431 in loadstatedictfromurl.
Two involve the AOTIModelPackageLoader. CVE-2026-136427 is a command injection in which a user-supplied string is used in a system call. CVE-2026-136430 is a directory traversal in which a user-supplied path is used in file operations.
CVE-2026-136426 is a code injection in PT2 file parsing, where a user-supplied string is used to execute Python code. CVE-2026-136429 is an exposed dangerous method in PT2 archive parsing and is rated 7.0, lower than the rest.
Severity and exposure
Six records are rated CVSS 7.8: CVE-2026-136432, CVE-2026-136433, CVE-2026-136427, CVE-2026-136426, CVE-2026-136428, CVE-2026-136430 and CVE-2026-136431. Several records say an attacker needs to interact with the library. Others say the target must visit a malicious page or open a malicious file. The records attribute the findings to ZDI case identifiers. The sources do not state that any of these flaws is known to be exploited, and they do not name affected version ranges, a fixed release, or a workaround.
What administrators can take from the records
Until a vendor fix is identified, the records support limiting exposure to files, URLs and archives from untrusted sources, since that is the input the flaws depend on.
What to do
- Check the vendor and ZDI advisories for a patched PyTorch release, since the records do not name one.
- Avoid loading PT2 archives, checkpoints, compiled functions, state dictionaries and model packages from untrusted sources or URLs.
- Confirm the eight-record count with the NVD listing, as only seven records were provided.
The 8 vulnerabilities
- CVE-2026-136432 7.8 PyTorch FileSystemReader Deserialization Flaw Enables Remote Code Execution
- CVE-2026-136433 7.8 PyTorch Deserialization Flaw Enables Remote Code Execution
- CVE-2026-136427 7.8 PyTorch AOTIModelPackageLoader Command Injection Vulnerability
- CVE-2026-136426 7.8 PyTorch PT2 File Parsing Code Injection Vulnerability
- CVE-2026-136428 7.8 PyTorch Loadcompiledfunction Deserialization Flaw Enables Remote Code Execution
- CVE-2026-136430 7.8 PyTorch AOTIModelPackageLoader Directory Traversal Vulnerability
- CVE-2026-136431 7.8 PyTorch Loadstatedictfromurl Deserialization Flaw Allows Remote Code Execution
- CVE-2026-136429 7.0 PyTorch PT2 File Parsing Remote Code Execution Vulnerability
Frequently asked questions
How many PyTorch Foundation PyTorch vulnerabilities were published on November 24, 2026?
8 vulnerabilities: 8 high, with CVSS scores up to 7.8.
Are any of them being exploited?
None of them is in CISA's Known Exploited Vulnerabilities catalog yet.
Which one should be fixed first?
CVE-2026-136432 (CVSS 7.8): PyTorch FileSystemReader Deserialization Flaw Enables Remote Code Execution.