Skip to main content
VulnerabilityPublished

CVE-2026-123974: PyTorch TorchServe · Creation of Temporary File in Directory with Insecure Permissions

Affects PyTorch TorchServeSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.8 High.

Data as of 6 Nov 2026, 20:06 UTC

CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (Akrites)CVSS 3.17.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 6 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 6 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
PyTorchTorchServeAffected
  • All versions
Fixed in–
GitHubTorchServepkg:github/TorchServeOther threatsAffected
  • All versions
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Until a fix is available, restrict local user access to systems running TorchServe to trusted users only. Monitor official PyTorch channels for updates and apply patches promptly once released.

Description

CVE-2026-123974 is a local privilege escalation vulnerability in all versions of PyTorch's TorchServe. It arises from the creation of a temporary extraction directory in /tmp with insecure, predictable permissions. This allows a local user to swap the model handler and execute code with the privileges of the TorchServe service account.

References

Community reviews

Loading reviews…