# CVE-2026-24747: PyTorch Vulnerable to Remote Code Execution via Untrusted Checkpoint Files

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.26%, higher than 70% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-27T20:10:54.000Z
- Modified: 2026-11-04T03:15:10.870Z
- Also known as: GHSA-63cw-57p8-fm3p, BIT-PYTORCH-2026-24747, PYSEC-2026-1856, PYSEC-2026-2286
- Weaknesses: CWE-94, CWE-502
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- pytorch pytorch: < 2.10.0
- rhoai/odh-vllm-gaudi-rhel9: no versions given (not affected: from 1780069069 before *)
- rhoai/odh-codeflare-operator-rhel8: no versions given
- rhoai/odh-codeflare-operator-rhel9: no versions given
- rhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9: no versions given
- rhoai/odh-training-rocm62-torch24-py311-rhel9: no versions given
- rhoai/odh-training-rocm62-torch25-py311-rhel9: no versions given
- rhoai/odh-training-rocm64-torch28-py312-rhel9: no versions given
- rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9: no versions given
- torch (PyPI): before 2.10.0
- linuxfoundation pytorch: before 2.10.0
- pytorch (PyPI): before 2.10.0
- pytorch (Bitnami): before 2.10.0

## Every score

- GitHub_M: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- redhat-SADP: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/pytorch/pytorch/issues/163105> (exploit, evidence, issue-tracking, report, web)
- <https://github.com/pytorch/pytorch/security/advisories/GHSA-63cw-57p8-fm3p> (advisory, vendor-advisory, web)
- <https://github.com/pytorch/pytorch/163122/commit/954dc5183ee9205cbe79876ad05dd2d9ae752139> (broken-link, fix, web)
- <https://github.com/pytorch/pytorch/releases/tag/v2.10.0> (advisory, article, product, release-notes, web)
- <https://access.redhat.com/security/cve/CVE-2026-24747> (vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2433612> (issue-tracking, report, web)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-24747.json> (web)
- <https://access.redhat.com/errata/RHSA-2026:24977> (advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-24747> (advisory, web)
- <https://github.com/advisories/GHSA-63cw-57p8-fm3p> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/pytorch/PYSEC-2026-1856.yaml> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2026-2286.yaml> (web)
- <https://github.com/pytorch/pytorch> (package)
- <https://pypi.org/project/pytorch> (package, web)

## Sources

- CVE List: [CVE-2026-24747](https://www.cve.org/CVERecord?id=CVE-2026-24747), CVE Terms of Use, modified 2026-07-15
- GitHub Advisory Database: [GHSA-63cw-57p8-fm3p](https://github.com/advisories/GHSA-63cw-57p8-fm3p), CC-BY-4.0, modified 2026-11-04
- NVD: [CVE-2026-24747](https://nvd.nist.gov/vuln/detail/CVE-2026-24747), Public domain, modified 2026-07-15
- PyPA Advisory Database: [PYSEC-2026-1856](https://osv.dev/vulnerability/PYSEC-2026-1856), CC-BY-4.0, modified 2026-07-13
- PyPA Advisory Database: [PYSEC-2026-2286](https://osv.dev/vulnerability/PYSEC-2026-2286), CC-BY-4.0, modified 2026-07-13
- Bitnami Vulnerability Database: [BIT-PYTORCH-2026-24747](https://osv.dev/vulnerability/BIT-PYTORCH-2026-24747), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-24747 · Whole record: https://cve.day/CVE-2026-24747.json · Rebuilt by cve.day 2026-11-25T22:59:13.247Z
