{"id":"CVE-2026-0672","aliases":["CVE-2026-0672","PSF-2026-5","BIT-LIBPYTHON-2026-0672","BIT-PYTHON-2026-0672","BIT-PYTHON-MIN-2026-0672"],"related":[],"kind":"vulnerability","state":"published","title":"Header injection in http.cookies.Morsel","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Al usar http.cookies.Morsel, los valores y parámetros de cookie controlados por el usuario pueden permitir la inyección de encabezados HTTP en los mensajes. El parche rechaza todos los caracteres de control dentro de los nombres, valores y parámetros de las cookies.","source":"nvd"}],"published":"2026-01-20T21:52:33.925Z","modified":"2026-06-17T10:11:11.133Z","severity":{"scorer":"PSF","scheme":"CVSS: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","score":6,"rating":"MEDIUM"},"severities":[{"scorer":"PSF","scheme":"CVSS: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","score":6,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-93"],"affected":[{"ranges":[{"type":"python","introduced":"0","fixed":"3.10.20","status":"affected"},{"type":"python","introduced":"3.11.0","fixed":"3.11.15","status":"affected"},{"type":"python","introduced":"3.12.0","fixed":"3.12.13","status":"affected"},{"type":"python","introduced":"3.13.0","fixed":"3.13.12","status":"affected"},{"type":"python","introduced":"3.14.0","fixed":"3.14.3","status":"affected"},{"type":"python","introduced":"3.15.0a1","fixed":"3.15.0a6","status":"affected"}],"vendor":"Python Software Foundation","product":"CPython","repo":"https://github.com/python/cpython","source":"cvelist"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"95746b3a13a985787ef53b977129041971ed7f70"},{"type":"git","status":"affected","fixed":"712452e6f1d4b9f7f8c4c92ebfcaac1705faa440"},{"type":"git","status":"affected","fixed":"62700107418eb2cca3fc88da036a243ea975f172"},{"type":"git","status":"affected","fixed":"7852d72b653fea0199acf5fc2a84f6f8b84eba8d"},{"type":"git","status":"affected","fixed":"918387e4912d12ffc166c8f2a38df92b6ec756ca"},{"type":"git","status":"affected","fixed":"b1869ff648bbee0717221d09e6deff46617f3e85"}],"repo":"https://github.com/python/cpython","source":"psf"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.10.20"},{"type":"semver","introduced":"3.11.0","status":"affected","fixed":"3.11.15"},{"type":"semver","introduced":"3.12.0","status":"affected","fixed":"3.12.13"},{"type":"semver","introduced":"3.13.0","status":"affected","fixed":"3.13.12"},{"type":"semver","introduced":"3.14.0","status":"affected","fixed":"3.14.3"}],"ecosystem":"Bitnami","package":"libpython","purl":"pkg:bitnami/libpython","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.10.20"},{"type":"semver","introduced":"3.11.0","status":"affected","fixed":"3.11.15"},{"type":"semver","introduced":"3.12.0","status":"affected","fixed":"3.12.13"},{"type":"semver","introduced":"3.13.0","status":"affected","fixed":"3.13.12"},{"type":"semver","introduced":"3.14.0","status":"affected","fixed":"3.14.3"}],"ecosystem":"Bitnami","package":"python","purl":"pkg:bitnami/python","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.10.20"},{"type":"semver","introduced":"3.11.0","status":"affected","fixed":"3.11.15"},{"type":"semver","introduced":"3.12.0","status":"affected","fixed":"3.12.13"},{"type":"semver","introduced":"3.13.0","status":"affected","fixed":"3.13.12"},{"type":"semver","introduced":"3.14.0","status":"affected","fixed":"3.14.3"}],"ecosystem":"Bitnami","package":"python-min","purl":"pkg:bitnami/python-min","source":"bitnami"}],"references":[{"url":"https://github.com/python/cpython/pull/143920","tags":["patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/issues/143919","tags":["issue-tracking","report","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/6VFLQQEIX673KXKFUZXCUNE5AZOGZ45M/","tags":["advisory","vendor-advisory","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/95746b3a13a985787ef53b977129041971ed7f70","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/712452e6f1d4b9f7f8c4c92ebfcaac1705faa440","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/62700107418eb2cca3fc88da036a243ea975f172","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/7852d72b653fea0199acf5fc2a84f6f8b84eba8d","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/918387e4912d12ffc166c8f2a38df92b6ec756ca","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/b1869ff648bbee0717221d09e6deff46617f3e85","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-0672","tags":["web"],"sources":["bitnami"]}],"credits":["Omar M. Hasan"],"assigner":"PSF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-01-21T15:40:11.672Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-0672","url":"https://www.cve.org/CVERecord?id=CVE-2026-0672","licence":"CVE Terms of Use","modified":"2026-03-03T14:43:20.490Z"},{"source":"psf","name":"Python Software Foundation","id":"PSF-2026-5","url":"https://osv.dev/vulnerability/PSF-2026-5","licence":"CC-BY-4.0","modified":"2026-01-27T00:35:55.013Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-0672","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-0672","licence":"Public domain","modified":"2026-06-17T10:11:11.133Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-LIBPYTHON-2026-0672","url":"https://osv.dev/vulnerability/BIT-LIBPYTHON-2026-0672","licence":"Apache-2.0","modified":"2026-04-10T11:46:31.979Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PYTHON-2026-0672","url":"https://osv.dev/vulnerability/BIT-PYTHON-2026-0672","licence":"Apache-2.0","modified":"2026-04-10T11:45:39.591Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PYTHON-MIN-2026-0672","url":"https://osv.dev/vulnerability/BIT-PYTHON-MIN-2026-0672","licence":"Apache-2.0","modified":"2026-04-10T11:45:30.150Z"}],"updatedAt":"2026-11-25T22:59:12.983Z","epss":{"score":0.0048,"percentile":0.43057,"date":"2026-12-01T12:00:22.000Z"}}