- Accueil
- Vulnérabilités
- CVE-2026-123974
CVE-2026-123974
pytorch/serve: Local privilege escalation through insecure temporary path
Résumé
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.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Pytorch (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Torchserve | Versions non précisées | — | CNA (éditeur ou attributeur) |
Correctif
Correctifsource officielle
The project is archived and currently no permanent solution is scheduled for release. See workaround section.
Source : CNA (éditeur ou attributeur)
Contournement
Contournementsource officielle
Three independent fixes: * Set TEMP (or pass -Djava.io.tmpdir) to a directory the service account owns and that is not world-writable. * Harden the systemd unit with PrivateTmp=yes, so /tmp is namespaced per service. * At the code level, extract into a directory owned by the service account and refuse to reuse a pre-existing extraction root that the service does not own, instead of forceMkdir-ing into whatever is already there.
Source : CNA (éditeur ou attributeur)
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Références
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- CNA (éditeur ou attributeur)
- Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H(CVSS 3.1, CNA:Akrites)- Faiblesse
- CWE-379 · Autre (CWE-379)