Skip to content
OpenAdvisories
Medium · 5.4 CVE-2026-115877 EUVD-2026-109153GHSA-q7qq-6mhp-9rc4

Twisted: HTTP Request Smuggling in twisted.web via a Bare CR or LF in a Header Value

Published Oct 23, 2026 · Updated Oct 29, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
twisted twisted < 26.10.0rc1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 twisted 26.10.0-1 —
Debian 13 twisted No fix yet —
Debian 12 twisted No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 twisted No fix yet —
Ubuntu 26.04 LTS twisted No fix yet —
Ubuntu 24.04 LTS twisted No fix yet —
Ubuntu 22.04 LTS twisted No fix yet —
Ubuntu 20.04 LTS twisted No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS twisted No fix yet —
Ubuntu Pro 16.04 LTS twisted No fix yet —
Ubuntu Pro 14.04 LTS twisted No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-Twisted 26.10.0-1.1 openSUSE-SU-2026:12381-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 python-twisted No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI twisted < 26.10.0rc1 26.10.0rc1 GHSA-q7qq-6mhp-9rc4

Advisories 1

References