Read the docs
TI-2026-19952 Aliases CVE-2026-24747GHSA-63cw-57p8-fm3p

PyTorch Vulnerable to Remote Code Execution via Untrusted Checkpoint Files

Priority MEDIUM 41CWE-502Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-502.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00799 56th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed pytorch (pytorch): 2.10.0torch (PyPI): 2.10.0Red Hat: 1 advisory

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
pytorchpytorchbefore 2.10.02.10.0Patch availableCNA
—torch (PyPI)before 2.10.02.10.0Patch availableGHSA-63cw-57p8-fm3p
  • pytorch Vendorpytorch Affected before 2.10.0 Fixed in 2.10.0 Patch available CNA
  • torch (PyPI) Vendor— Affected before 2.10.0 Fixed in 2.10.0 Patch available GHSA-63cw-57p8-fm3p

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:linuxfoundation:pytorch:*:*:*:*:*:python:*:*before 2.10.0Vulnerablebackstage
  • cpe:2.3:a:linuxfoundation:pytorch:*:*:*:*:*:python:*:* Versions before 2.10.0 Vulnerable ·backstage

Remediation

  • Fix · CNA pytorch (pytorch) Fixed in 2.10.0
  • Fix · GHSA-63cw-57p8-fm3p torch (PyPI) Fixed in 2.10.0 Advisory →

Red Hat 1 advisory

  • RHSA-2026:24977 Released 2026-06-10 · Red Hat rating Important
    RHOAI 2.25.7 - Red Hat OpenShift AI
    • Red Hat OpenShift AI 2.25 registry.redhat.io/rhoai/odh-caikit-nlp-rhel9, registry.redhat.io/rhoai/odh-caikit-tgis-serving-rhel9, registry.redhat.io/rhoai/odh-dashboard-rhel9 +34

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat OpenShift AI 2.25Fixed RHSA-2026:24977
Not affected: 2 products
  • Red Hat OpenShift AI (RHOAI)
  • Red Hat OpenShift AI 2.25

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-24747
  2. 2026-10-03 Alias added: GHSA-63cw-57p8-fm3p
  3. 2026-11-04 Fix available: PyPI/[email protected] · GHSA-63cw-57p8-fm3p
  4. 2026-11-04 8 new references · GHSA-63cw-57p8-fm3p

References

  • TI-2023-23379 TorchServe Server-Side Request Forgery CVSS 3.1CRITICAL 10.0
  • TI-2026-86102 Predictable temp path in TorchServe enables local privilege escalation CVSS 3.1HIGH 7.8
  • TI-2026-46956 PyTorch torchvision GIF Decoder Out-of-bounds Heap Read CVSS 4.0HIGH 7.1
  • TI-2024-06099 Unclaimed S3 Bucket Usage in pytorch/serve CVSS 3.0MEDIUM 6.3
  • TI-2025-23505 PyTorch: `torch.load` with `weights_only=True` leads to remote code execution CVSS 4.0CRITICAL 9.3
  • TI-2024-23271 TorchServe gRPC Port Exposure CVSS 3.1HIGH 8.2
See all 8 →

Sources