Skip to content
Fencer Vulns
high 8.8

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 1780069069
    fixed: 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 more
    not 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 more
    not 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

Weakness
  • CWE-502 Deserialization of Untrusted Data
  • CWE-94 Improper Control of Generation of Code

References

Sources

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.