CVE-2026-24747: PyTorch Vulnerable to Remote Code Execution via Untrusted Checkpoint Files
Affects pytorchSource GCVE Database
Not known to be exploited : upgrade to 2.10.0 soon.
Data as of 26 Oct 2026, 10:12 UTC
Rated by Threat Radar · No CVSS score from NVD or the CNA
- EPSS
- 0.7% chance of exploitation in 30 days – higher than 56% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.10.0
Exploitation evidence
Disclosed: evidence found.
CVE published 29 Jan 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade pytorch to 2.10.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Bitnamipytorchpkg:bitnami/pytorchOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade PyTorch to version 2.10.0 or later, where this vulnerability is fixed. Avoid loading checkpoint files from untrusted sources using torch.load with weights_only=True. No other mitigations are indicated by the vendor advisory.
Description
A vulnerability in PyTorch prior to version 2.10.0 allows remote attackers to execute arbitrary code by crafting malicious checkpoint files (.pth) that exploit the weights_only unpickler. This flaw leads to memory corruption when loading such files with torch.load(..., weights_only=True). The issue is fixed in PyTorch 2.10.0.
References
- github.com/pytorch/pytorch/163122/commit/954dc5183ee9205cbe79876ad05dd2d9ae752139 (opens in a new tab)
- github.com/pytorch/pytorch/issues/163105 (opens in a new tab)
- github.com/pytorch/pytorch/releases/tag/v2.10.0 (opens in a new tab)
- github.com/pytorch/pytorch/security/advisories/GHSA-63cw-57p8-fm3p (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-24747 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:24977 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-24747 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2433612 (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-24747.json (opens in a new tab)