CVE-2026-0672Published Jan 20, 2026 · Jan 20Updated 21h ago
Header injection in http.cookies.Morsel
Python Software Foundation CPython
Medium6.0Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Python Software Foundation CPython |
| No fix yet |
Original 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.