Skip to content
OpenAdvisories
High · 7.8 CVE-2026-123974 EUVD-2026-118480GHSA-g2fw-m3ph-hqcq

pytorch/serve: Local privilege escalation through insecure temporary path

Published Nov 6, 2026 · Updated Nov 6, 2026 · 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.

Affected products

VendorProductAffectedFixed
PyTorch TorchServe — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 pytorch No fix yet —
Debian 13 pytorch No fix yet —
Debian 12 pytorch No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 pytorch No fix yet —
Ubuntu 26.04 LTS pytorch No fix yet —
Ubuntu 22.04 LTS pytorch No fix yet —

Advisories 1

References