CVE-2026-0672
Header injection in http.cookies.Morsel
- State
- Published
- Severity
- 6.0 Medium
- Published
- Jan 20, 2026
- Updated
- Mar 3, 2026
- Reserved
- Jan 7, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 6.0 Medium | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N | PSF |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
CPythonPython Software Foundation |
|
References
- https://github.com/python/cpython/pull/143920patch
- https://github.com/python/cpython/issues/143919issue-tracking
- https://mail.python.org/archives/list/security-announce@python.org/thread/6VFLQQEIX673KXKFUZXCUNE5AZOGZ45M/vendor-advisory
- https://github.com/python/cpython/commit/95746b3a13a985787ef53b977129041971ed7f70patch
- https://github.com/python/cpython/commit/712452e6f1d4b9f7f8c4c92ebfcaac1705faa440patch
- https://github.com/python/cpython/commit/62700107418eb2cca3fc88da036a243ea975f172patch
- https://github.com/python/cpython/commit/7852d72b653fea0199acf5fc2a84f6f8b84eba8dpatch
- https://github.com/python/cpython/commit/918387e4912d12ffc166c8f2a38df92b6ec756capatch
- https://github.com/python/cpython/commit/b1869ff648bbee0717221d09e6deff46617f3e85patch
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.