CVE Catalog

CVE-2026-115877

MediumCVSS 5.4
Published: Translated: NVD NIST

Summary

In Twisted 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.

Risk Assessment

An attacker can smuggle HTTP requests past access controls, poison caches or connections, and expose other clients to wrong responses. The risk affects Twisted-based HTTP services behind a front end.

Recommendation

Update Twisted to version 26.10.0rc1 or later. Until updated, ensure the front end rejects bare CR/LF in headers and does not use lenient parsing.

Other vulnerabilities in Twisted

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS