{"id":"BIT-libpython-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-python-2026-0672","BIT-python-min-2026-0672","CVE-2026-0672","PSF-2026-5"],"modified":"2026-04-21T18:41:50.922951961Z","published":"2026-01-26T14:43:32.238Z","database_specific":{"cpes":["cpe:2.3:a:python:python:*:*:*:*:*:*:*:*"],"severity":"Medium"},"references":[{"type":"WEB","url":"https://github.com/python/cpython/commit/712452e6f1d4b9f7f8c4c92ebfcaac1705faa440"},{"type":"WEB","url":"https://github.com/python/cpython/commit/95746b3a13a985787ef53b977129041971ed7f70"},{"type":"WEB","url":"https://github.com/python/cpython/issues/143919"},{"type":"WEB","url":"https://github.com/python/cpython/pull/143920"},{"type":"WEB","url":"https://mail.python.org/archives/list/security-announce@python.org/thread/6VFLQQEIX673KXKFUZXCUNE5AZOGZ45M/"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-0672"},{"type":"WEB","url":"https://github.com/python/cpython/commit/62700107418eb2cca3fc88da036a243ea975f172"},{"type":"WEB","url":"https://github.com/python/cpython/commit/7852d72b653fea0199acf5fc2a84f6f8b84eba8d"},{"type":"WEB","url":"https://github.com/python/cpython/commit/918387e4912d12ffc166c8f2a38df92b6ec756ca"},{"type":"WEB","url":"https://github.com/python/cpython/commit/b1869ff648bbee0717221d09e6deff46617f3e85"}],"affected":[{"package":{"name":"libpython","ecosystem":"Bitnami","purl":"pkg:bitnami/libpython"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.10.20"},{"introduced":"3.11.0"},{"fixed":"3.11.15"},{"introduced":"3.12.0"},{"fixed":"3.12.13"},{"introduced":"3.13.0"},{"fixed":"3.13.12"},{"introduced":"3.14.0"},{"fixed":"3.14.3"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/libpython/BIT-libpython-2026-0672.json"},"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}],"schema_version":"1.7.5"}