What’s Vulnerable › Vulnerabilities

CVE-2026-3644: Incomplete control character validation in http.cookies

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().

Affected products

How to fix

Upgrade to a fixed version: Python 3.13.13, 3.14.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-3644 or the next vulnerability affects your stack