{"id":"CVE-2026-3644","published":"2026-03-16T17:37:31Z","modified":"2026-08-13T00:27:41Z","title":"Incomplete control character validation in http.cookies","vendor":"Python Software Foundation","product":"CPython","tier":"tail","description":{"text":"The fix for CVE-2026-0672, which rejected control characters in http.cookies.Morsel, was incomplete. The Morsel.update(), |= operator, and unpickling paths were not patched, allowing control characters to bypass input validation. Additionally, BaseCookie.js_output() lacked the output validation applied to BaseCookie.output().","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.00543,"percentile":0.46529,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"references":[{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/H6CADMBCDRFGWCMOXWUIHFJNV43GABJ7/","tags":["vendor-advisory"]},{"url":"https://github.com/python/cpython/commit/57e88c1cf95e1481b94ae57abe1010469d47a6b4","tags":["patch"]},{"url":"https://github.com/python/cpython/issues/145599","tags":["issue-tracking"]},{"url":"https://github.com/python/cpython/pull/145600","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/62ceb396fcbe69da1ded3702de586f4072b590dd","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/d16ecc6c3626f0e2cc8f08c309c83934e8a979dd","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/556aa098e738b127c714866f819b4abe2f7593d8","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/dae4b1a21f8df4570e30986affd61bbe4ade4cef","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/3974092b037f9a3b000fb15b48ea61ce3b25d330","tags":["patch"]}],"priority":{"score":13.5,"factors":[{"name":"EPSS percentile","points":9.31},{"name":"CVSS severity","points":4.2}]},"vendorSlug":"python-software-foundation","affectedVersions":[{"vendor":"Python Software Foundation","product":"CPython","versions":["< 3.10.21",">= 3.11.0, < 3.11.16",">= 3.12.0, < 3.12.14",">= 3.13.0, < 3.13.13",">= 3.14.0, < 3.14.4",">= 3.15.0a1, < 3.15.0a8"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-16T18:25:27.051552Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-12484","exploited":false,"provenance":"source"}}