Pytorch vulnerabilities

Other · sources: CVE.org/NVD · refreshes every minute

Period
Updating…

In the last 30 days, 10 Pytorch vulnerabilities were published: 0 critical, 0 actively exploited. Most common weakness: unsafe deserialization (CWE-502).

10vulnerabilities in 30 days
0critical
0exploited
Nov 26last published
CVSS score: 7.8 Severity: High Identifier: CVE-2026-136433 PyTorch Foundation PyTorch torch_save_to_dcp Deserialization of Untrusted Data Remote Code Execution Vulnerability Package: pytorch (2.13.0) Published Published

PyTorch Foundation PyTorch torch_save_to_dcp Deserialization of Untrusted Data 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 visit a malicious page or open a malicious file.

The specific flaw exists within the checkpoint format conversion utilities. The issue results from the lack of proper validation of user-supplied data, which can result in deserialization of untrusted data. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-32834.

Exploitation
No known exploitation
EPSS
0.38% chance of exploitation in the next 30 days, higher than 24.2% of CVEs
CVSS
7.8 out of 10 · source NVD (trendmicro.com)
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Versions
2.13.0
Weakness
CWE-502
Sources
CVE.org · NVD · EPSS
Dates
published Nov 24, 2026 · first seen here 4 h ago
CVSS score: 7.8 Severity: High Identifier: CVE-2026-136432 PyTorch Foundation PyTorch FileSystemReader Deserialization of Untrusted Data Remote Code Execution Vulnerability Package: pytorch (2.13.0) Published Published

PyTorch Foundation PyTorch FileSystemReader Deserialization of Untrusted Data 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 FileSystemReader class. The issue results from the lack of proper validation of user-supplied data, which can result in deserialization of untrusted data. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-32600.

Exploitation
No known exploitation
EPSS
0.38% chance of exploitation in the next 30 days, higher than 24.2% of CVEs
CVSS
7.8 out of 10 · source NVD (trendmicro.com)
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Versions
2.13.0
Weakness
CWE-502
Sources
CVE.org · NVD · EPSS
Dates
published Nov 24, 2026 · first seen here 4 h ago
CVSS score: 7.8 Severity: High Identifier: CVE-2026-136431 PyTorch Foundation PyTorch load_state_dict_from_url Deserialization of Untrusted Data Remote Code Execution Vulnerability Package: pytorch (2.13.0) Published Published

PyTorch Foundation PyTorch load_state_dict_from_url Deserialization of Untrusted Data 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 visit a malicious page or open a malicious file.

The specific flaw exists within the load_state_dict_from_url function. The issue results from the lack of proper validation of user-supplied data, which can result in deserialization of untrusted data. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-32601.

Exploitation
No known exploitation
EPSS
0.58% chance of exploitation in the next 30 days, higher than 41.8% of CVEs
CVSS
7.8 out of 10 · source NVD (trendmicro.com)
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Versions
2.13.0
Weakness
CWE-502
Sources
CVE.org · NVD · EPSS
Dates
published Nov 24, 2026 · first seen here 4 h ago
CVSS score: 7.8 Severity: High Identifier: CVE-2026-136430 PyTorch Foundation PyTorch AOTIModelPackageLoader Directory Traversal Remote Code Execution Vulnerability Package: pytorch (2.14.0) Published Published

PyTorch Foundation PyTorch AOTIModelPackageLoader Directory Traversal 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 visit a malicious page or open a malicious file.

The specific flaw exists within the AOTInductor model package loader. The issue results from the lack of proper validation of a user-supplied path prior to using it in file operations. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-33055.

Exploitation
No known exploitation
EPSS
0.74% chance of exploitation in the next 30 days, higher than 50.7% of CVEs
CVSS
7.8 out of 10 · source NVD (trendmicro.com)
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Versions
2.14.0
Weakness
CWE-22
Sources
CVE.org · NVD · EPSS
Dates
published Nov 24, 2026 · first seen here 4 h ago
CVSS score: 7.8 Severity: High Identifier: CVE-2026-136428 PyTorch Foundation PyTorch load_compiled_function Deserialization of Untrusted Data Remote Code Execution Vulnerability Package: pytorch (2.13.0) Published Published

PyTorch Foundation PyTorch load_compiled_function Deserialization of Untrusted Data 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 load_compiled_function function. The issue results from the lack of proper validation of user-supplied data, which can result in deserialization of untrusted data. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-32603.

Exploitation
No known exploitation
EPSS
0.58% chance of exploitation in the next 30 days, higher than 41.8% of CVEs
CVSS
7.8 out of 10 · source NVD (trendmicro.com)
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Versions
2.13.0
Weakness
CWE-502
Sources
CVE.org · NVD · EPSS
Dates
published Nov 24, 2026 · first seen here 4 h ago
CVSS score: 7.8 Severity: High Identifier: CVE-2026-136427 PyTorch Foundation PyTorch AOTIModelPackageLoader Command Injection Remote Code Execution Vulnerability Package: pytorch (2.12.1) Published Published

PyTorch Foundation PyTorch AOTIModelPackageLoader Command 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 AOTIModelPackageLoader. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-32262.

Exploitation
No known exploitation
EPSS
0.65% chance of exploitation in the next 30 days, higher than 45.9% of CVEs
CVSS
7.8 out of 10 · source NVD (trendmicro.com)
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Versions
2.12.1
Weakness
CWE-78
Sources
CVE.org · NVD · EPSS
Dates
published Nov 24, 2026 · first seen here 4 h ago
CVSS score: 7.8 Severity: High Identifier: CVE-2026-136426 PyTorch Foundation PyTorch PT2 File Parsing Code Injection Remote Code Execution Vulnerability Package: pytorch (2.13.0) Published Published

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.

Exploitation
No known exploitation
EPSS
0.46% chance of exploitation in the next 30 days, higher than 31.5% of CVEs
CVSS
7.8 out of 10 · source NVD (trendmicro.com)
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Versions
2.13.0
Weakness
CWE-94
Sources
CVE.org · NVD · EPSS
Dates
published Nov 24, 2026 · first seen here 4 h ago
CVSS score: 7.8 Severity: High Identifier: CVE-2026-123974 pytorch/serve: Local privilege escalation through insecure temporary path Package: torchserve fixed in * Published Published

In all versions of PyTorch's TorchServe, a predictable extraction directory in /tmp lets a local user swap the model handler and run code as the TorchServe service account leading to local privilege escalation.

Exploitation
No known exploitation
EPSS
0.16% chance of exploitation in the next 30 days, higher than 2.5% of CVEs
CVSS
7.8 out of 10 · source NVD (7fefd608-56a6-419f-a002-fd8543c0710a)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Versions
0 → <* · fixed in *
Weakness
CWE-379
Sources
CVE.org · NVD · EPSS
Dates
published Nov 6, 2026 · first seen here 5 h ago
CVSS score: 7.1 Severity: High Identifier: CVE-2026-137507 torchvision before 0.29.2 Path Traversal via Tar Archive Extraction Package: vision fixed in 0.29.2 Published Published New

torchvision before 0.29.2 contains a path traversal vulnerability in _extract_tar() that allows attackers to write files outside the extraction directory by supplying crafted tar archives. Attackers controlling archives passed to extract_archive() or download_and_extract_archive() can use .. paths, absolute paths, or symlinks to overwrite Python modules and achieve code execution.

Exploitation
No known exploitation
EPSS
—
CVSS
7.1 out of 10 · source NVD (vulncheck.com)
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Versions
0 → <0.29.2 · fixed in 0.29.2
Weakness
CWE-22
Sources
CVE.org · NVD
Dates
published Nov 26, 2026 · first seen here 1 h ago
CVSS score: 7.0 Severity: High Identifier: CVE-2026-136429 PyTorch Foundation PyTorch PT2 File Parsing Exposed Dangerous Method Remote Code Execution Vulnerability Package: pytorch (2.13.0) Published Published

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.

Exploitation
No known exploitation
EPSS
0.32% chance of exploitation in the next 30 days, higher than 16.9% of CVEs
CVSS
7.0 out of 10 · source NVD (trendmicro.com)
CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Versions
2.13.0
Weakness
CWE-749
Sources
CVE.org · NVD · EPSS
Dates
published Nov 24, 2026 · first seen here 4 h ago