{"id":"CVE-2026-0865","published":"2026-01-20T21:26:15Z","modified":"2026-03-03T14:43:30Z","title":"wsgiref.headers.Headers allows header newline injection","vendor":"Python Software Foundation","product":"CPython","tier":"tail","description":{"text":"User-controlled header names and values containing newlines can allow injecting HTTP headers.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00554,"percentile":0.47182,"provenance":"source"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"references":[{"url":"https://github.com/python/cpython/pull/143917","tags":["patch"]},{"url":"https://github.com/python/cpython/issues/143916","tags":["issue-tracking"]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/BJ6QPHNSHJTS3A7CFV6IBMCAP2DWRVNT/","tags":["vendor-advisory"]},{"url":"https://github.com/python/cpython/commit/22e4d55285cee52bc4dbe061324e5f30bd4dee58","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/23e3c0ae867cca0130e441e776c9955b9027c510","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/4802b96a2cde58570c24c13ef3289490980961c5","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/f7fceed79ca1bceae8dbe5ba5bc8928564da7211","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/2f840249550e082dc351743f474ba56da10478d2","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/e4846a93ac07a8ae9aa18203af0dd13d6e7a6995","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/66da7bf6fe7b81e3ecc9c0a25bd47d4616c8d1a6","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/83ecd18779f286d872f68bfce175651e407d9fff","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/bfba660085767f8c2d582134e9d511a85eda04cf","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/286e3ac39984fe85a17f4ab39c64d382137aae5f","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/8bb044d29310bb05d15086cdaa8bf64867d61a97","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/c592227ffb48679af9845a45dbb0875d975bb219","tags":["patch"]}],"priority":{"score":13.6,"factors":[{"name":"EPSS percentile","points":9.44},{"name":"CVSS severity","points":4.13}]},"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:22.223517Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-3520","exploited":false,"provenance":"source"}}