Python Software Foundation CPython
Incomplete control character validation in http.cookies
The fix for CVE-2026-0672, which rejected control characters in http.cookies.Morsel, was incomplete. The Morsel.update(), |= operator, and unpickling paths were not patched, allowing control characters to bypass input validation. Additionally, BaseCookie.js_output() lacked the output validation applied to BaseCookie.output().
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by NVD · CWE-20
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Python Software Foundation CPython
- < 3.10.21
- >= 3.11.0, < 3.11.16
- >= 3.12.0, < 3.12.14
- >= 3.13.0, < 3.13.13
- >= 3.14.0, < 3.14.4
- >= 3.15.0a1, < 3.15.0a8
Fixed in 3.10.21, 3.11.16, 3.12.14, 3.13.13, 3.14.4, 3.15.0a8
Mitigation
Upgrade CPython to 3.10.21 or 3.11.16 or 3.12.14 or 3.13.13 or 3.14.4 or 3.15.0a8 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.