CVE-2026-24747
PyTorch Vulnerable to Remote Code Execution via Untrusted Checkpoint Files
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.
INFO
Published Date :
Jan. 27, 2026, 10:15 p.m.
Last Modified :
Jan. 30, 2026, 9:51 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | [email protected] | ||||
| CVSS 3.1 | HIGH | MITRE-CVE |
Solution
- Update PyTorch to version 2.10.0 or later.
- Avoid loading untrusted checkpoint files.
Public PoC/Exploit Available at Github
CVE-2026-24747 has a 1 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-24747.
| URL | Resource |
|---|---|
| https://github.com/pytorch/pytorch/163122/commit/954dc5183ee9205cbe79876ad05dd2d9ae752139 | Broken Link |
| https://github.com/pytorch/pytorch/issues/163105 | Exploit Issue Tracking |
| https://github.com/pytorch/pytorch/releases/tag/v2.10.0 | Product Release Notes |
| https://github.com/pytorch/pytorch/security/advisories/GHSA-63cw-57p8-fm3p | Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-24747 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-24747
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-24747 vulnerability anywhere in the article.
-
Daily CyberSecurity
Safety Broken: PyTorch “Safe” Mode Bypassed by Critical RCE Flaw
The development team behind PyTorch, the backbone of modern deep learning and AI research, has patched a high-severity vulnerability that breaks the trust of its most security-conscious feature. Track ... Read more
The following table lists the changes that have been made to the
CVE-2026-24747 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jan. 30, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:linuxfoundation:pytorch:*:*:*:*:*:python:*:* versions up to (excluding) 2.10.0 Added Reference Type GitHub, Inc.: https://github.com/pytorch/pytorch/163122/commit/954dc5183ee9205cbe79876ad05dd2d9ae752139 Types: Broken Link Added Reference Type GitHub, Inc.: https://github.com/pytorch/pytorch/issues/163105 Types: Exploit, Issue Tracking Added Reference Type GitHub, Inc.: https://github.com/pytorch/pytorch/releases/tag/v2.10.0 Types: Product, Release Notes Added Reference Type GitHub, Inc.: https://github.com/pytorch/pytorch/security/advisories/GHSA-63cw-57p8-fm3p Types: Vendor Advisory -
New CVE Received by [email protected]
Jan. 27, 2026
Action Type Old Value New Value Added 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. Added CVSS V3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Added CWE CWE-94 Added CWE CWE-502 Added Reference https://github.com/pytorch/pytorch/163122/commit/954dc5183ee9205cbe79876ad05dd2d9ae752139 Added Reference https://github.com/pytorch/pytorch/issues/163105 Added Reference https://github.com/pytorch/pytorch/releases/tag/v2.10.0 Added Reference https://github.com/pytorch/pytorch/security/advisories/GHSA-63cw-57p8-fm3p