You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Reject control characters in wsgiref.headers.Headers #143916
Backports are still hanging and I believe the fix should be backported to security branches as well as otherwise we are removing a possible correct behavior in security-only branches.
Activity
vytas7 commentedon Jan 21, 2026
Hey @sethmlarson, not to take away from this great security initiative, but could you elaborate on disallowing
HTAB(0x09) in header values?My interpretation of RFC 9110, 5.5. Field values is that
HTABshould be allowed.sethmlarson commentedon Jan 21, 2026
@vytas7 Ah dang, you are right. I'll submit a follow-up pull request to this PR.
00473: CVE-2026-0865
00473: CVE-2026-0865
00473: CVE-2026-0865
00473: Downstream only: Reject control characters in wsgiref.headers.…
00473: CVE-2026-0865
00473: CVE-2026-0865
00473: CVE-2026-0865
00473: CVE-2026-0865
00473: CVE-2026-0865
gh-143916: Allow HTAB in wsgiref header values
pythongh-143916: Allow HTAB in wsgiref header values
pythongh-143916: Allow HTAB in wsgiref header values
pythongh-143916: Allow HTAB in wsgiref header values
pythongh-143916: Allow HTAB in wsgiref header values
Update python310 to version 3.10.19 / rev 71 via SR 1332783
pythongh-143916: Reject control characters in wsgiref.headers.Headers (
pythongh-143916: Allow HTAB in wsgiref header values
Update python312 to version 3.12.12 / rev 43 via SR 1332782
Update python311 to version 3.11.14 / rev 63 via SR 1332828
picnixz commentedon Feb 21, 2026
Backports are still hanging and I believe the fix should be backported to security branches as well as otherwise we are removing a possible correct behavior in security-only branches.
@sethmlarson
[3.14] gh-143916: Allow HTAB in wsgiref header values (#144761)
hugovk commentedon Feb 21, 2026
Merged into 3.14.
[3.13] gh-143916: Allow HTAB in wsgiref header values (GH-144762)
pythongh-143916: Allow HTAB in wsgiref header values
pythongh-143916: Allow HTAB in wsgiref header values
pythongh-143916: Allow HTAB in wsgiref header values
[3.12] gh-143916: Allow HTAB in wsgiref header values (#145141)
pythongh-143916: Allow HTAB in wsgiref header values
[3.11] gh-143916: Allow HTAB in wsgiref header values (#145139)
[3.10] gh-143916: Allow HTAB in wsgiref header values (#145140)
00473: CVE-2026-0865
pythongh-143916: Allow HTAB in wsgiref header values
[CVE-2026-0865] Reject control characters in wsgiref.headers.Headers
[CVE-2026-0865] Reject control characters in wsgiref.headers.Headers
[CVE-2026-0865] Reject control characters in wsgiref.headers.Headers
[CVE-2026-0865] Reject control characters in wsgiref.headers.Headers