CVE-2026-123974

published 6 Nov 2026 · updated 12 Nov 2026

pytorch/serve: Local privilege escalation through insecure temporary path

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in *.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
pytorch*

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-123974 severity on Zeptric[![CVE-2026-123974](https://zeptric.io/badge/cve/CVE-2026-123974.svg)](https://zeptric.io/cve/CVE-2026-123974)