- Accueil
- Vulnérabilités
- CVE-2026-12345
CVE-2026-12345
Race condition in tempfile.TemporaryDirectory cleanup allows deleting files outside the temporary directory
Faible
32/100
Résumé
The cleanup of tempfile.TemporaryDirectory is vulnerable to a race condition. An attacker who can modify the tree during cleanup can replace a directory with a symbolic link, causing files outside of the temporary directory to be deleted or have their permissions and file flags reset, with the privileges of the process performing the cleanup. Note that platforms where shutil.rmtree.avoids_symlink_attacks is false, remain affected, and file flags may still be reset outside of the tree on all platforms.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Python Software Foundation (4 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| CPython | avant 3.12.15 (exclu) |
— | CNA (éditeur ou attributeur) |
| CPython | de 3.13.0 (inclus) à 3.13.18 (exclu) |
— | CNA (éditeur ou attributeur) |
| CPython | de 3.14.0 (inclus) à 3.14.9 (exclu) |
— | CNA (éditeur ou attributeur) |
| CPython | de 3.15.0a1 (inclus) à 3.15.0rc3 (exclu) |
— | CNA (éditeur ou attributeur) |
Correctif
Non renseigné par l’éditeur.
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1486)
Avis CERT-FR
- CERTFR-2026-AVI-1486 — Multiples vulnérabilités dans les produits VMware (09 novembre 2026) 9 nov. 2026
Références
- https://github.com/python/cpython/commit/06ef3d43fdaf4da97af12fa694b4886092c4b970patch
- https://github.com/python/cpython/commit/458e7134a5af7f86aee9d21b51cf499b41aa4420patch
- https://github.com/python/cpython/commit/58ed0259cae509a19138795df302fe60b544dc74patch
- https://github.com/python/cpython/commit/5c20517a4fc56683efe63a7751020db9573f538dpatch
- https://github.com/python/cpython/commit/e1f3590f155c6d66007e958c98c9d69316551993patch
- https://github.com/python/cpython/pull/157580patch
- https://github.com/python/cpython/commit/0478b52788117db4b831b3efd648f56b777628aapatch
- https://github.com/python/cpython/commit/c39b52d00b42200aaadff679e2fe3f1006d57c58patch
- https://github.com/python/cpython/commit/aa17c688d2c160969f2c8963f4454cdd139808e7patch
- https://github.com/python/cpython/commit/8fa0152f7dbd65b6341a7b00a56227127dc2ec99patch
- https://github.com/python/cpython/commit/ac0487e42060a39ce648e40f0a63e37391b2d816patch
- https://github.com/python/cpython/commit/e82a65ade532d4204e9c507e462dbcce8815fb93patch
- https://github.com/python/cpython/issues/157579issue-tracking
- http://www.openwall.com/lists/oss-security/2026/09/29/40
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:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:(CVSS 4.0, CNA:cna@python.org)- Faiblesse
- CWE-59 · Autre (CWE-59)