pytorch/serve: Local privilege escalation through insecure temporary path
- State
- Published
- Severity
- 7.8 High
- Published
- Nov 6, 2026
- Updated
- Nov 6, 2026
- Reserved
- Nov 6, 2026
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.
| Product | Versions |
|---|---|
| TorchServe PyTorch | all versions Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 7.8 High | Akrites |
Weaknesses
- CWE-379 Creation of temporary file in directory with insecure permissions
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.