Incomplete control character validation in http.cookies
At a glance
Severity
MEDIUM 6.0
EPSS
EPSS 0.50 % · percentile 42 (2026-10-27)
State
PUBLISHED
Published
Updated
Assigner
PSF
NVD status
Modified
Description
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().