The Linux Foundation Projects

Security Advisories

CVE-2026-123974

pytorch/serve: Local privilege escalation through insecure temporary path

High 7.8

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

  • PyTorch/TorchServe: < *

References

Credits

  • Christ Bowel (finder)