Every CVE Search/ Get API key

CVE-2026-123974

pytorch/serve: Local privilege escalation through insecure temporary path

7.8 High

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.14%Scored on 2026-11-07. The trend appears after a second daily score.

What each source reports

CVE List Score used 7.8

pytorch/serve: Local privilege escalation through insecure temporary path

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.

Record
CVE-2026-123974
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-379
Updated
2026-11-06
EUVDEUVD-2026-118480 7.8

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.

Record
EUVD-2026-118480
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-07
GitHub AdvisoriesGHSA-g2fw-m3ph-hqcq 7.8

In all versions of PyTorch's TorchServe, a predictable extraction directory in /tmp lets a local...

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.

Record
GHSA-g2fw-m3ph-hqcq
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-379
Updated
2026-11-06
NVD 7.8

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.

Record
CVE-2026-123974
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-379
Updated
2026-11-06

Affected products

History

History
RecordedChangedSources
publishedEUVD
publishedEUVD, NVD
aliases, published, referencesCVE List, EUVD, GitHub Advisories
first indexedCVE List

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2026-123974 is a high vulnerability (CVSS 7.8) in Pytorch Torchserve, published November 6, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.14%, the 3rd percentile. No source names a fixed version.

References

MoveEnter Open