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
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-24747
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-24747
Broken Link
https://github.com/pytorch/pytorch/163122/commit/954dc5183ee9205cbe79876ad05dd2d9ae752139
Exploit
https://github.com/pytorch/pytorch/issues/163105
Product
https://github.com/pytorch/pytorch/releases/tag/v2.10.0
Vendor Advisory
https://github.com/pytorch/pytorch/security/advisories/GHSA-63cw-57p8-fm3p
access.redhat.com
https://access.redhat.com/errata/RHSA-2026:24977
access.redhat.com
https://access.redhat.com/security/cve/CVE-2026-24747
More from pytorch
9.8
CVE-2025-32434
PyTorch: `torch.load` with `weights_only=True` leads to remote code execution
9.8
CVE-2024-48063
In PyTorch <=2.4.1, the RemoteModule has Deserialization RCE
