RCE in Pytorch
CVE-2026-24747
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.loa…
Vulnerability class: Insecure Deserialization
EPSS: 0.001 (20.3th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
Affected products
- Pytorch — versions < 2.10.0
Weakness classification (CWE)
References
- https://github.com/pytorch/pytorch/security/advisories/GHSA-63cw-57p8-fm3p (x_refsource_CONFIRM)
- https://github.com/pytorch/pytorch/issues/163105 (x_refsource_MISC)
- https://github.com/pytorch/pytorch/163122/commit/954dc5183ee9205cbe79876ad05dd2d9ae752139 (x_refsource_MISC)
- https://github.com/pytorch/pytorch/releases/tag/v2.10.0 (x_refsource_MISC)
Frequently asked questions
- What is CVE-2026-24747?
- CVE-2026-24747 is a high-severity vulnerability in Pytorch, classified under Deserialization of Untrusted Data. CVSS score: 8.8/10. Published 2026-01-27.
- How severe is CVE-2026-24747?
- High severity. CVSS v3 base score is 8.8 out of 10.