Skip to main content
CVE-2026-123974VulnerabilityPublished Updated

In all versions of PyTorch's TorchServe, a predictable extraction directory in /tmp lets a local user swap the model

Affects pytorchSource GCVE Database

0
Compare
Authoritative record:CVE-2026-123974· High 7.8

Not known to be exploited · CVSS 7.8 High.

Data as of 18 Nov 2026, 16:34 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 17 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10pytorchpkg:deb/ubuntu/pytorch?arch=source&distro=stonkingOther threatsAffected
  • =2.9.1+dfsg-1~exp1ubuntu2
  • =2.12.1+dfsg-1
Fixed in–
Ubuntu 26.04 LTSpytorchpkg:deb/ubuntu/pytorch?arch=source&distro=resoluteOther threatsAffected
  • =2.6.0+dfsg-7
  • =2.6.0+dfsg-9
  • =2.9.1+dfsg-1~exp1ubuntu2
Fixed in–
Ubuntu 22.04 LTSpytorchpkg:deb/ubuntu/pytorch?arch=source&distro=jammyOther threatsAffected
  • =1.7.1-7
  • =1.8.1-4
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 and monitor for suspicious activity related to /tmp directory usage.

Description

A vulnerability in all versions of PyTorch's TorchServe allows local users to exploit a predictable extraction directory in /tmp. This flaw enables swapping the model handler, resulting in code execution with the TorchServe service account privileges and local privilege escalation.

References

Community reviews

Loading reviews…