CVE Program
CNA-CVE-2026-0865
wsgiref.headers.Headers allows header newline injection
Details
User-controlled header names and values containing newlines can allow injecting HTTP headers.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Python | python | All versions before 3.10.20 (fixed in 3.10.20) From 3.11.0 before 3.11.15 (fixed in 3.11.15) From 3.12.0 before 3.12.13 (fixed in 3.12.13) From 3.13.0 before 3.13.12 (fixed in 3.13.12) From 3.14.0 before 3.14.3 (fixed in 3.14.3) From 3.15.0a1 before 3.15.0a6 (fixed in 3.15.0a6) |
References
- https://www.cve.org/CVERecord?id=CVE-2026-0865
- https://github.com/python/cpython/pull/143917
- https://github.com/python/cpython/issues/143916
- https://mail.python.org/archives/list/[email protected]/thread/BJ6QPHNSHJTS3A7CFV6IBMCAP2DWRVNT/
- https://github.com/python/cpython/commit/22e4d55285cee52bc4dbe061324e5f30bd4dee58
- https://github.com/python/cpython/commit/23e3c0ae867cca0130e441e776c9955b9027c510
- https://github.com/python/cpython/commit/4802b96a2cde58570c24c13ef3289490980961c5
- https://github.com/python/cpython/commit/f7fceed79ca1bceae8dbe5ba5bc8928564da7211
- https://github.com/python/cpython/commit/2f840249550e082dc351743f474ba56da10478d2
- https://github.com/python/cpython/commit/e4846a93ac07a8ae9aa18203af0dd13d6e7a6995
- https://github.com/python/cpython/commit/66da7bf6fe7b81e3ecc9c0a25bd47d4616c8d1a6
- https://github.com/python/cpython/commit/83ecd18779f286d872f68bfce175651e407d9fff
- https://github.com/python/cpython/commit/bfba660085767f8c2d582134e9d511a85eda04cf
- https://github.com/python/cpython/commit/286e3ac39984fe85a17f4ab39c64d382137aae5f
- https://github.com/python/cpython/commit/8bb044d29310bb05d15086cdaa8bf64867d61a97
- https://github.com/python/cpython/commit/c592227ffb48679af9845a45dbb0875d975bb219