CVE-2026-24747 json
PyTorch Vulnerable to Remote Code Execution via Untrusted Checkpoint Files
published 2026-01-27 9 mo ago modified 2026-11-04 5 d ago also BIT-pytorch-2026-24747 , EUVD-2026-4738 , GHSA-63cw-57p8-fm3p , PYSEC-2026-1856 , PYSEC-2026-2286
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 56%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi torch 2.10.0
- bitnami pytorch 2.10.0
- pypi pytorch 2.10.0
- Red Hat Red Hat OpenShift AI 2.25 1780069069
- pytorch Debian 14 2.12.0+dfsg2-1
debian advisories DEBIAN-CVE-2026-24747
- pytorch Azure Linux 3.0 2.2.2-11
- pytorch CBL-Mariner 2.0 2.0.0-14
azure linux advisories AZL-75293AZL-75588
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-24747 updated cvss 8.8
pytorch: PyTorch: Arbitrary code execution via malicious checkpoint file loading
-
Red Hat OpenShift AI 2.25 rhoai/odh-vllm-gaudi-rhel9 1780069069fixed: vendor fix RHSA-2026:24977
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-codeflare-operator-rhel8, rhoai/odh-codeflare-operator-rhel9, rhoai/odh-training-rocm62-torch24-py311-rhel9, rhoai/odh-training-rocm62-torch25-py311-rhel9, rhoai/odh-training-rocm64-torch28-py312-rhel9, rhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9, +1 morenot affected: vulnerable code not in execute path
-
Red Hat OpenShift AI 2.25 rhoai/odh-rhel9-operator 1780513840, rhoai/odh-vllm-cpu-rhel9 1780069252, rhoai/odh-dashboard-rhel9 1780467029, rhoai/odh-modelmesh-rhel9 1780069506, rhoai/odh-operator-bundle 1780514621, rhoai/odh-vllm-cuda-rhel9 1780069320, +70 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 9 mo ago
Exploit prediction
0.80% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/pytorch/pytorch/issues/163105 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| CISA ADP | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | torch | <2.10.0 |
2.10.0 |
| bitnami | pytorch | <2.10.0 |
2.10.0 |
| pypi | pytorch | <2.10.0 |
2.10.0 |
Affected products
- pytorch pytorch
- Red Hat Red Hat OpenShift AI 2.25
- Red Hat Red Hat OpenShift AI (RHOAI)
Classification
References
-
github.com
/pytorch/pytorch/163122/commit/954dc5183ee9205cbe79876ad05dd2d9ae752139
web, broken-link, patch
-
github.com
/pytorch/pytorch/issues/163105
web, exploit, issue-tracking, evidence, report
-
access.redhat.com
/errata/RHSA-2026:24977
vendor-advisory, web, advisory
-
github.com
/pytorch/pytorch/security/advisories/GHSA-63cw-57p8-fm3p
web, vendor-advisory, advisory
-
github.com
/pytorch/pytorch/releases/tag/v2.10.0
web, product, release-notes, article, advisory
-
access.redhat.com
/security/cve/CVE-2026-24747
vdb-entry, web
-
bugzilla.redhat.com
/show_bug.cgi?id=2433612
issue-tracking, web, report
-
security.access.redhat.com
/data/csaf/v2/vex/2026/cve-2026-24747.json
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-24747
advisory, web
-
github.com
/advisories/GHSA-63cw-57p8-fm3p
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/pytorch/PYSEC-2026-1856.yaml
web
-
github.com
/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2026-2286.yaml
web
-
github.com
/pytorch/pytorch
package
-
pypi.org
/project/pytorch
web, package
Sources
- CVE List CVE-2026-24747
- GitHub Advisory GHSA-63cw-57p8-fm3p
- NVD CVE-2026-24747
- OSV BIT-pytorch-2026-24747
- OSV PYSEC-2026-1856
- OSV PYSEC-2026-2286
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.