CVE-2026-123974
published high CVSS 3.1 · 7.8pytorch/serve: Local privilege escalation through insecure temporary path
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| PyTorch | — | TorchServe0 and later · Other versions: unknown | Affected | Not stated | Akrites |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Akrites · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| PyTorch | TorchServe | 0 and later (affected · semver)Default: unknown | Akrites · cna |
Weaknesses
1- CWE-379 CWE-379 Creation of temporary file in directory with insecure permissions
References
2Provider assertions
2Akrites · cna
pytorch/serve: Local privilege escalation through insecure temporary path
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6c26212a70ad9bd1ca6057c5f22c8c4ff786fa5906abe8e38545d342e9e9b316
- Ingested
- 07 Nov 2026, 23:40:33 UTC
- Source record
- Official CVE record