# CVE-2026-123974: pytorch/serve: Local privilege escalation through insecure temporary path

- Severity: High 7.8 (CVSS:3.1, scored by Akrites) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-11-06T19:52:16.058Z
- Modified: 2026-11-12T20:04:52.377Z
- Weaknesses: CWE-379
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- PyTorch TorchServe: before *

## References

- <https://christbowel.com/blog/torchserve-lpe/>
- <https://github.com/Christbowel/torchserve-lpe>

## Sources

- CVE List: [CVE-2026-123974](https://www.cve.org/CVERecord?id=CVE-2026-123974), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-123974](https://nvd.nist.gov/vuln/detail/CVE-2026-123974), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-123974 · Whole record: https://cve.day/CVE-2026-123974.json · Rebuilt by cve.day 2026-11-25T22:59:49.316Z
