{"id":"CVE-2026-0672","state":"PUBLISHED","title":"Header injection in http.cookies.Morsel","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.","publishedAt":"2026-01-20T21:52:33.925Z","updatedAt":"2026-03-03T14:43:20.490Z","severity":{"score":6,"label":"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","source":"PSF"},"assigner":"PSF","products":["Python Software Foundation CPython"],"affected":[{"vendor":"Python Software Foundation","product":"CPython","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"3.10.20","versionType":"python"},{"version":"3.11.0","status":"affected","lessThan":"3.11.15","versionType":"python"},{"version":"3.12.0","status":"affected","lessThan":"3.12.13","versionType":"python"},{"version":"3.13.0","status":"affected","lessThan":"3.13.12","versionType":"python"},{"version":"3.14.0","status":"affected","lessThan":"3.14.3","versionType":"python"},{"version":"3.15.0a1","status":"affected","lessThan":"3.15.0a6","versionType":"python"}],"modules":["http.cookies"],"repo":"https://github.com/python/cpython"}],"references":["https://github.com/python/cpython/pull/143920","https://github.com/python/cpython/issues/143919","https://mail.python.org/archives/list/security-announce@python.org/thread/6VFLQQEIX673KXKFUZXCUNE5AZOGZ45M/","https://github.com/python/cpython/commit/95746b3a13a985787ef53b977129041971ed7f70","https://github.com/python/cpython/commit/712452e6f1d4b9f7f8c4c92ebfcaac1705faa440","https://github.com/python/cpython/commit/62700107418eb2cca3fc88da036a243ea975f172","https://github.com/python/cpython/commit/7852d72b653fea0199acf5fc2a84f6f8b84eba8d","https://github.com/python/cpython/commit/918387e4912d12ffc166c8f2a38df92b6ec756ca","https://github.com/python/cpython/commit/b1869ff648bbee0717221d09e6deff46617f3e85"],"weaknesses":["CWE-93"],"ingestedAt":"2026-10-29T20:10:13.529Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/0xxx/CVE-2026-0672.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-0672","state":"PUBLISHED","datePublished":"2026-01-20T21:52:33.925Z","dateUpdated":"2026-03-03T14:43:20.490Z","assignerShortName":"PSF","assignerOrgId":"28c92f92-d60d-412d-b760-e73465c3df22","dateReserved":"2026-01-07T17:08:45.326Z"},"containers":{"cna":{"title":"Header injection in http.cookies.Morsel","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Python Software Foundation","product":"CPython","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"3.10.20","versionType":"python"},{"version":"3.11.0","status":"affected","lessThan":"3.11.15","versionType":"python"},{"version":"3.12.0","status":"affected","lessThan":"3.12.13","versionType":"python"},{"version":"3.13.0","status":"affected","lessThan":"3.13.12","versionType":"python"},{"version":"3.14.0","status":"affected","lessThan":"3.14.3","versionType":"python"},{"version":"3.15.0a1","status":"affected","lessThan":"3.15.0a6","versionType":"python"}],"modules":["http.cookies"],"repo":"https://github.com/python/cpython"}],"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"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":6,"baseSeverity":"MEDIUM","exploitMaturity":"NOT_DEFINED","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-93","description":"CWE-93","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"PSF","orgId":"28c92f92-d60d-412d-b760-e73465c3df22","dateUpdated":"2026-03-03T14:43:20.490Z"},"credits":[{"lang":"en","type":"reporter","value":"Omar M. Hasan"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.5.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-01-21T15:40:11.672802Z","id":"CVE-2026-0672","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-01-21T16:14:06.341Z"}}]}}}