{"id":"CVE-2026-0672","published":"2026-01-20T21:52:33Z","modified":"2026-03-03T14:43:20Z","title":"Header injection in http.cookies.Morsel","vendor":"Python Software Foundation","product":"CPython","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0048,"percentile":0.42259,"provenance":"source"},"cwes":[{"id":"CWE-93","name":"Improper Neutralization of CRLF Sequences"}],"references":[{"url":"https://github.com/python/cpython/pull/143920","tags":["patch"]},{"url":"https://github.com/python/cpython/issues/143919","tags":["issue-tracking"]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/6VFLQQEIX673KXKFUZXCUNE5AZOGZ45M/","tags":["vendor-advisory"]},{"url":"https://github.com/python/cpython/commit/95746b3a13a985787ef53b977129041971ed7f70","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/712452e6f1d4b9f7f8c4c92ebfcaac1705faa440","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/62700107418eb2cca3fc88da036a243ea975f172","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/7852d72b653fea0199acf5fc2a84f6f8b84eba8d","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/918387e4912d12ffc166c8f2a38df92b6ec756ca","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/b1869ff648bbee0717221d09e6deff46617f3e85","tags":["patch"]}],"priority":{"score":12.7,"factors":[{"name":"EPSS percentile","points":8.45},{"name":"CVSS severity","points":4.2}]},"vendorSlug":"python-software-foundation","affectedVersions":[{"vendor":"Python Software Foundation","product":"CPython","versions":["< 3.10.20",">= 3.11.0, < 3.11.15",">= 3.12.0, < 3.12.13",">= 3.13.0, < 3.13.12",">= 3.14.0, < 3.14.3",">= 3.15.0a1, < 3.15.0a6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-21T15:40:11.672802Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-3521","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-python-software-foundation-cpython-cve-2024-7592","parents":[{"from":"CVE-2024-7592","to":"CVE-2026-0672","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["Lib/http/cookies.py"],"commits":["https://github.com/python/cpython/commit/391e5626e3ee5af267b97e37abc7475732e67621","https://github.com/python/cpython/commit/dcc3eaef98cd94d6cb6cb0f44bd1c903d04f33b1","https://github.com/python/cpython/commit/95746b3a13a985787ef53b977129041971ed7f70","https://github.com/python/cpython/commit/712452e6f1d4b9f7f8c4c92ebfcaac1705faa440"],"basis":"rarely changed file"}]}]}}