CVE-2026-123974

pytorch/serve: Local privilege escalation through insecure temporary path

High published · updated

7.8
CVSS score out of 10 · NVD (7fefd608-56a6-419f-a002-fd8543c0710a)

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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
torchserve pytorch 0 → <** CVE.org

References