7.8High

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

PyTorch TorchServe Published: (13 days ago)

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.

Weakness (CWE): CWE-379

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
PyTorch TorchServe 0

References and patches