CVE-2026-115877Twisted: HTTP Request Smuggling in twisted.web via a Bare CR or LF in a Header Value
Twisted is an event-based framework for internet applications, supporting Python 3.6+. Prior to 26.10.0rc1, twisted.web.http.HTTPChannel.headerReceived rejects a NUL byte in an HTTP header value but accepts a bare carriage return or bare line feed. Because Twisted splits header lines only on CRLF, a hidden Content-Length header can remain folded into another value while a lenient front end treats the bare character as a line terminator. The resulting framing disagreement can smuggle a following request past front-end access controls, poison a shared connection or cache, and expose a later client to the wrong response. This issue is an incomplete-fix residual of earlier Twisted request-smuggling protections. This issue is fixed in version 26.10.0rc1.
What to do
Fixed builds are available from Debian, PyPI: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | twisted | Fix pending | UBUNTU-CVE-2026-115877 | |
| Ubuntu 26.04 | twisted | Under investigation | UBUNTU-CVE-2026-115877 | |
| Ubuntu 24.04 | twisted | Under investigation | UBUNTU-CVE-2026-115877 | |
| Ubuntu 22.04 | twisted | Under investigation | UBUNTU-CVE-2026-115877 | |
| Ubuntu 20.04 | twisted | Fix pending | UBUNTU-CVE-2026-115877 | |
| Ubuntu 18.04 | twisted | Fix pending | UBUNTU-CVE-2026-115877 | |
| Ubuntu 16.04 | twisted | Fix pending | UBUNTU-CVE-2026-115877 | |
| Ubuntu 14.04 | twisted | Fix pending | UBUNTU-CVE-2026-115877 | |
| Debian 14 | twisted | Fixed | 26.10.0-1 | DEBIAN-CVE-2026-115877 |
| Debian 13 | twisted | Fix pending | DEBIAN-CVE-2026-115877 | |
| Debian 12 | twisted | Fix pending | DEBIAN-CVE-2026-115877 | |
| PyPI library | twisted | Fixed | 26.10.0rc1 | GHSA-q7qq-6mhp-9rc4 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- twisted: affected: < 26.10.0rc1
References
- https://github.com/twisted/twisted/security/advisories/GHSA-q7qq-6mhp-9rc4
- https://github.com/twisted/twisted/pull/12755
- https://github.com/twisted/twisted/commit/022b6f7feb5980166c71f54e2c0d8f4f21ff6e1a
- https://github.com/twisted/twisted/commit/1616f702d36eda8990a5a5b22ad70fab140a7eb1
- https://github.com/twisted/twisted/releases/tag/twisted-26.10.0rc1
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.