CVE-2026-123974: PyTorch TorchServe - Local Privilege Escalation
- Cve: CVE-2026-123974
- Name: PyTorch TorchServe - Local Privilege Escalation
- 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.
- Impact: Local attackers can execute arbitrary code as the TorchServe service account, leading to local privilege escalation.
- Remediation: Update to the latest version of TorchServe.
- Vulnerability type: race_condition
- Vulnerability impact: privilege_escalation, remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker needs local access to the system
- Labels source: securitycontext
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00145
- Epss percentile: 0.03712
- Assignee: 7fefd608-56a6-419f-a002-fd8543c0710a
- Published at: 2026-11-06T20:17:20Z
- Age in days: 18
- Modified at: 2026-11-12T20:04:52Z
- References total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-123974
- Nvd status: awaiting_analysis
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-379 | Creation of Temporary File in Directory with Insecure Permissions |
References
| Url | Source | Tags |
|---|---|---|
| https://christbowel.com/blog/torchserve-lpe/ | nvd | |
| https://github.com/Christbowel/torchserve-lpe | nvd |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts