High severityOSV Advisory· Published Jan 27, 2026· Updated Feb 26, 2026
PyTorch Vulnerable to Remote Code Execution via Untrusted Checkpoint Files
CVE-2026-24747
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
pytorchPyPI | < 2.10.0 | 2.10.0 |
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
6- github.com/advisories/GHSA-63cw-57p8-fm3pghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-24747ghsaADVISORY
- github.com/pytorch/pytorch/163122/commit/954dc5183ee9205cbe79876ad05dd2d9ae752139ghsax_refsource_MISCWEB
- github.com/pytorch/pytorch/issues/163105ghsax_refsource_MISCWEB
- github.com/pytorch/pytorch/releases/tag/v2.10.0ghsax_refsource_MISCWEB
- github.com/pytorch/pytorch/security/advisories/GHSA-63cw-57p8-fm3pghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.