CVE-2026-0672
Vulnérabilité moyenne dans CPython (Python Software Foundation)
CVSS 6.0 · Moyenne
EPSS 0.5%
Python Software Foundation•CPython•Versions : <3.15.0a6, <3.10.20, <3.14.3, 3.14.0, 3.11.0, 3.13.0, <3.13.12, <3.12.13, 3.15.0a1, <3.11.15, 3.12.0, 0
Description
When using http.cookies.Morsel, user-controlled cookie values and parameters can allow injecting HTTP headers into messages. Patch rejects all control characters within cookie names, values, and parameters.
Gravité et risque d'exploitation
CVE-2026-0672 obtient un score CVSS de 6.0/10, soit une gravité moyenne. 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.0 % des CVE référencées.
Que faire ?
- Vérifiez si CPython (versions <3.15.0a6, <3.10.20, <3.14.3, 3.14.0, 3.11.0, 3.13.0, <3.13.12, <3.12.13, 3.15.0a1, <3.11.15, 3.12.0, 0) 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://github.com/python/cpython/pull/143920
- https://github.com/python/cpython/issues/143919
- https://mail.python.org/archives/list/security-announce@python.org/thread/6VFLQQEIX673KXKFUZXCUNE5AZOGZ45M/
- https://github.com/python/cpython/commit/95746b3a13a985787ef53b977129041971ed7f70
- https://github.com/python/cpython/commit/712452e6f1d4b9f7f8c4c92ebfcaac1705faa440
- https://github.com/python/cpython/commit/62700107418eb2cca3fc88da036a243ea975f172
- https://github.com/python/cpython/commit/7852d72b653fea0199acf5fc2a84f6f8b84eba8d
- https://github.com/python/cpython/commit/918387e4912d12ffc166c8f2a38df92b6ec756ca
- https://github.com/python/cpython/commit/b1869ff648bbee0717221d09e6deff46617f3e85
