{"id":"CVE-2026-0672","summary":"Header injection in http.cookies.Morsel","details":"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.","aliases":["BIT-libpython-2026-0672","BIT-python-2026-0672","BIT-python-min-2026-0672","PSF-2026-5"],"modified":"2026-05-18T05:59:42.183510554Z","published":"2026-01-20T21:52:33.925Z","related":["ALSA-2026:10950","CGA-cp3f-r43j-qh98","SUSE-SU-2026:0590-1","SUSE-SU-2026:0612-1","SUSE-SU-2026:0613-1","SUSE-SU-2026:0642-1","SUSE-SU-2026:0643-1","SUSE-SU-2026:0644-1","SUSE-SU-2026:0645-1","SUSE-SU-2026:0663-1","SUSE-SU-2026:0664-1","SUSE-SU-2026:0693-1","SUSE-SU-2026:0767-1","SUSE-SU-2026:1062-1","SUSE-SU-2026:1107-1","SUSE-SU-2026:1117-1","SUSE-SU-2026:1349-1","SUSE-SU-2026:20543-1","SUSE-SU-2026:20581-1","SUSE-SU-2026:20665-1","SUSE-SU-2026:20710-1","SUSE-SU-2026:20768-1","SUSE-SU-2026:20796-1","openSUSE-SU-2026:10126-1","openSUSE-SU-2026:10200-1","openSUSE-SU-2026:10206-1","openSUSE-SU-2026:10221-1","openSUSE-SU-2026:10222-1","openSUSE-SU-2026:10223-1","openSUSE-SU-2026:20254-1"],"database_specific":{"cna_assigner":"PSF","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/0xxx/CVE-2026-0672.json","cwe_ids":["CWE-93"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/0xxx/CVE-2026-0672.json"},{"type":"ADVISORY","url":"https://mail.python.org/archives/list/security-announce@python.org/thread/6VFLQQEIX673KXKFUZXCUNE5AZOGZ45M/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-0672"},{"type":"REPORT","url":"https://github.com/python/cpython/issues/143919"},{"type":"FIX","url":"https://github.com/python/cpython/commit/62700107418eb2cca3fc88da036a243ea975f172"},{"type":"FIX","url":"https://github.com/python/cpython/commit/712452e6f1d4b9f7f8c4c92ebfcaac1705faa440"},{"type":"FIX","url":"https://github.com/python/cpython/commit/7852d72b653fea0199acf5fc2a84f6f8b84eba8d"},{"type":"FIX","url":"https://github.com/python/cpython/commit/918387e4912d12ffc166c8f2a38df92b6ec756ca"},{"type":"FIX","url":"https://github.com/python/cpython/commit/95746b3a13a985787ef53b977129041971ed7f70"},{"type":"FIX","url":"https://github.com/python/cpython/commit/b1869ff648bbee0717221d09e6deff46617f3e85"},{"type":"FIX","url":"https://github.com/python/cpython/pull/143920"},{"type":"PACKAGE","url":"https://github.com/python/cpython"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/python/cpython","events":[{"introduced":"f31a89bb901067dd105b00cfa90523cf7ffdbbdd"},{"fixed":"15b216f30d0445469ec31bc7509fcc55a216ef7c"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-0672.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}