High severity · published Jan 27, 2026
CVE-2026-24747
PyTorch Vulnerable to Remote Code Execution via Untrusted Checkpoint Files
8.8
CVSS
0.8%
EPSS
No
On KEV
Description
PyTorch is a Python package that provides tensor computation. Prior to version 2.10.0, a vulnerability in PyTorch's `weights_only` unpickler allows an attacker to craft a malicious checkpoint file (`.pth`) that, when loaded with `torch.load(..., weights_only=True)`, can corrupt memory and potentially lead to arbitrary code execution. Version 2.10.0 fixes the issue.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.8% · higher than 56% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PY
pytorch · pytorch
< 2.10.0 · source: vendor, NVD
RH
Red Hat OpenShift AI 2.25 · Red Hat
All versions, or not specified · source: CISA