CVE-2026-123974
pytorch/serve: Local privilege escalation through insecure temporary path
7.8
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.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| torchserve | pytorch | 0 → <* | * | CVE.org |