CVE-2026-123974
pytorch/serve: Local privilege escalation through insecure temporary path
- Severity
- high CVSS 7.8 (v3.1)
- Affects
- TorchServe · PyTorch
- Weakness
- CWE-379 Creation of temporary file in directory with insecure permissions
- Published
- 6 November 2026 by Akrites
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.