---
title: "CVE-2026-123974: PyTorch TorchServe - Privilege Escalation"
description: "PyTorch TorchServe contains a local privilege escalation caused by predictable extraction directory in /tmp, letting local users swap model handler and execute code as TorchServe service account, exploit requires local access."
url: https://panop.io/threat-heartbeat/CVE-2026-123974/
---

# CVE-2026-123974 PyTorch TorchServe - Privilege Escalation

PyTorch TorchServe contains a local privilege escalation caused by predictable extraction directory in /tmp, letting local users swap model handler and execute code as TorchServe service account, exploit requires local access.

CVSS base score 7.8 /10

High

CISA KEV

Not listed

Public exploit

None known

Authentication

Required

EPSS

0.14% chance of exploitation in 30 days

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-123974)

## Details

Type

Privilege Escalation

Impact

Privilege Escalation, Remote Code Execution

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Published

6 November 2026

Updated

9 November 2026

Weakness

[CWE-379](https://cwe.mitre.org/data/definitions/379.html)

## Vendor fix

Update to the latest version of TorchServe.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-123974](https://nvd.nist.gov/vuln/detail/CVE-2026-123974)
- [https://christbowel.com/blog/torchserve-lpe/](https://christbowel.com/blog/torchserve-lpe/)
- [https://github.com/Christbowel/torchserve-lpe](https://github.com/Christbowel/torchserve-lpe)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
