Untriaged
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().
References
-
https://github.com/python/cpython/issues/145599 issue-tracking
Affected products
CPython
- <3.15.0
Package maintainers
-
@sheepforce Phillip Seeber <phillip.seeber@googlemail.com>