7.8High
CVE-2026-123974pytorch/serve: Local privilege escalation through insecure temporary path
Description
In all versions of PyTorch's TorchServe, a predictable extraction directory in /tmp lets a local user swap the model handler and run code as the TorchServe service account leading to local privilege escalation.
Weakness (CWE):
CWE-379
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| PyTorch | TorchServe | 0 |