CVE-2026-24747

GHSA-63cw-57p8-fm3p · published 27 Jan 2026 · updated 4 Nov 2026

PyTorch Vulnerable to Remote Code Execution via Untrusted Checkpoint Files

8.8HighCVSS 8.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in torch 2.10.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
pytorch<2.10.0
pypi: torch<2.10.02.10.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-24747 severity on Zeptric[![CVE-2026-24747](https://zeptric.io/badge/cve/CVE-2026-24747.svg)](https://zeptric.io/cve/CVE-2026-24747)