PyTorch Vulnerable to Remote Code Execution via Untrusted Checkpoint Files
CVE-2026-24747 · GHSA-63cw-57p8-fm3p · published 2026-01-27 · updated 2026-11-04
- Severity
- High
- CVSS score
- 8.8
- Chance of exploitation (EPSS)
- 0.80%
- Fixed in
- 2.10.0
- Exploitation No known exploitation
- Automatable No
- Technical impact Total
- CISA SSVC
An attacker who can convince a user to load a malicious checkpoint file may achieve arbitrary code execution in the context of the victim's process.
Upgrade torch to 2.10.0 or later.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| torch | PyPI | < 2.10.0 | 2.10.0 |
- CriticalUnauthenticated Remote Code Execution in Langflow via Public Flow Build EndpointlangflowExploited
- CriticalRay is vulnerable to Critical RCE via Safari & Firefox Browsers through DNS Rebinding AttackrayExploited
- CriticalLangflow Unauth RCElangflow, langflow-baseExploited
- HighLiteLLM: Authenticated command execution via MCP stdio test endpointslitellmExploited
- CriticalMLflow vulnerable to remote code execution on unauthenticated servers via third-party scorer deserialization importing caller-placed artifacmlflow
- CriticalAgno: Arbitrary code execution via `eval()` on `field_type` in `FunctionCall`agno
- CriticalPyTorch: `torch.load` with `weights_only=True` leads to remote code executiontorch
- CriticalPyTorch vulnerable to arbitrary code executiontorch
- HighPyTorch heap buffer overflow vulnerabilitytorch
- HighPytorch use-after-free vulnerabilitytorch
- MediumPyTorch Improper Resource Shutdown or Release vulnerabilitytorch
- MediumPyTorch is Vulnerable to Memory Consumption through pad_packed_sequence Functiontorch
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.