CVE-2026-4360
Vulnérabilité faible dans CPython (Python Software Foundation)
CVSS 2.0 · Faible
EPSS 0.5%
Python Software Foundation•CPython•Versions : <3.10.21, <3.14.7, <3.15.0b4, 3.14.0, 3.11.0, 3.13.0, 3.15.0a1, 3.12.0, 0, <3.12.14, <3.13.15, <3.11.16
Description
In the Tarfile.extract() function, the filter parameter is not passed properly when extracting hardlinks. An affected system that extracts content from untrusted tar files could end up writing files with an unexpected uid/gid despite the user passing filter='data' to the extract() function.
Gravité et risque d'exploitation
CVE-2026-4360 obtient un score CVSS de 2.0/10, soit une gravité faible. Selon le modèle EPSS, la probabilité qu'elle soit exploitée dans les 30 prochains jours est de 0.48 %, ce qui la place devant 40.1 % des CVE référencées.
Que faire ?
- Vérifiez si CPython (versions <3.10.21, <3.14.7, <3.15.0b4, 3.14.0, 3.11.0, 3.13.0, 3.15.0a1, 3.12.0, 0, <3.12.14, <3.13.15, <3.11.16) est présent sur votre parc.
- Appliquez le correctif ou la version corrigée indiqués dans les références de l'éditeur.
- À défaut de correctif, limitez l'exposition (filtrage réseau, désactivation du composant).
- Automatisez la détection : les agents CVE Heimdall (gratuits, open source) corrèlent l'inventaire de vos serveurs avec la base CVE.
Références
- https://mail.python.org/archives/list/security-announce@python.org/thread/TWZW2PC2AZOV6FENIHFSRC63OM7MBGSB/
- https://github.com/python/cpython/pull/151988
- https://github.com/python/cpython/issues/151987
- https://github.com/python/cpython/commit/5e0ef3f1afe892e4f64eb83368db57ac4c40cba0
- https://github.com/python/cpython/commit/7b57e8d51446297b8c7c482d224bc5f1938e4301
- https://github.com/python/cpython/commit/7ccdbaba2c54250a70d7f25632152df7655a5e0a
- https://github.com/python/cpython/commit/eee3ddf0ca10283cc7fea724aae9cd8665f8d15e
- https://github.com/python/cpython/commit/d2b2f5eacab4dd48446b63340613b05dcbbf0b44
- https://github.com/python/cpython/commit/cf23b9153181062150d061468b6d24af33fe214f
- https://github.com/python/cpython/commit/0367912be336348b30572f8029cec4a282782d92
