CVE-2026-24747: PyTorch Vulnerable to Remote Code Execution via Untrusted Checkpoint Files
Vulnerability summary
CVE-2026-24747 is a high (CVSS 8.8) Improper Control of Generation of Code vulnerability in linuxfoundation pytorch. EPSS estimates a 0.80% chance of exploitation in the next 30 days, higher than 57.8% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Timeline
- 27-01-2026PublishedVulnerability first disclosed.
- 15-07-2026Last modifiedVulnerability information updated.
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 metrics
6 scores · 6 sources · 1 version- OSV · PypiEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVDNIST8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.80%
Chance of exploitation in the next 30 days
Percentile
58%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.80% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundPytorch
Maturity: poc
Weaknesses
CWE · root cause- CWE-94Improper Control of Generation of CodeThe product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
- CWE-502Deserialization of Untrusted DataThe product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.
Affected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard10 products
- py3.10-torch-2.3-cuda-12.4All versions (No fix recorded)
- py3.10-torch-2.6-cuda-12.4All versions (No fix recorded)
- py3.10-torch-2.7-cuda-12.8All versions (No fix recorded)
- py3.11-torch-2.6-cuda-12.4All versions (No fix recorded)
- py3.11-torch-2.7-cuda-12.8All versions (No fix recorded)
PyPI2 products
- pytorch< 2.10.0
- torch< 2.10.0
Debian1 product
- pytorchAll versions (No fix recorded) | < 2.12.0+dfsg2-1
Linuxfoundation1 product
- pytorch< 2.10.0
Pytorch1 product
- pytorch< 2.10.0
Ubuntu1 product
- pytorchAll versions (No fix recorded)
6 vendors · 16 products
References
18 links- github.com/pytorch/pytorch/security/advisories/GHSA-63cw-57p8-fm3pX Refsource CONFIRMWEBAdvisoryREPORTVendor Advisory
- github.com/pytorch/pytorch/163122/commit/954dc5183ee9205cbe79876ad05dd2d9ae752139X Refsource MISCWEBFIXREPORTBroken Link
- github.com/pytorch/pytorch/releases/tag/v2.10.0X Refsource MISCWEBAdvisoryREPORTProductRelease Notes
- github.com/pytorch/pytorchPACKAGE