Predictable temp path in TorchServe enables local privilege escalation
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
All versions of PyTorch TorchServe are affected. The extraction directory in /tmp is predictable, a flaw tracked as CWE-379. A local user with low privileges can swap the model handler in that directory and run code as the TorchServe service account.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
The sources list no fixed version for PyTorch TorchServe.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
Timeline
- 2026-11-06 Threatist record created from CVE-2026-123974
- 2026-11-06 CISA SSVC decision points changed
- 2026-11-06 Priority changed: MEDIUM → HIGH
- 2026-11-06 Alias added: GHSA-g2fw-m3ph-hqcq
References
More pytorch vulnerabilities
- TI-2023-23379 TorchServe Server-Side Request Forgery CVSS 3.1CRITICAL 10.0
- TI-2026-46956 PyTorch torchvision GIF Decoder Out-of-bounds Heap Read CVSS 4.0HIGH 7.1
- TI-2024-06099 Unclaimed S3 Bucket Usage in pytorch/serve CVSS 3.0MEDIUM 6.3
- TI-2025-23505 PyTorch: `torch.load` with `weights_only=True` leads to remote code execution CVSS 4.0CRITICAL 9.3
- TI-2024-23271 TorchServe gRPC Port Exposure CVSS 3.1HIGH 8.2
- TI-2024-23270 TorchServe bypass allowed_urls configuration CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-123974 · CVE Program
- CVE-2026-123974 · NVD
- FIRST EPSS
- GHSA-g2fw-m3ph-hqcq · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences