Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. Twisted
  4. ›
  5. CVE-2026-115877

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

October 23, 2026

An incomplete header-value validation (CWE-444) in the Twisted HTTP server lets a bare carriage return or line feed in a header value hide a following header from the parser. twisted.web.http.HTTPChannel.headerReceived rejects a NUL byte in a header value but not a bare CR or LF, even though RFC 9110 section 5.5 requires a recipient to reject all three. Because the channel splits requests only on CRLF, a value carrying a bare LF and a second header arrives as one line, so the second header is folded into the value and the request is framed with no body. A front-end that treats the bare LF as a line terminator frames the request differently, and the disagreement lets an attacker smuggle a request past it. This is an incomplete fix of the earlier Twisted request-smuggling advisories, which guarded the NUL sibling of this exact check.

References

  • github.com/advisories/GHSA-q7qq-6mhp-9rc4
  • github.com/twisted/twisted/commit/022b6f7feb5980166c71f54e2c0d8f4f21ff6e1a
  • github.com/twisted/twisted/commit/1616f702d36eda8990a5a5b22ad70fab140a7eb1
  • github.com/twisted/twisted/pull/12755
  • github.com/twisted/twisted/releases/tag/twisted-26.10.0rc1
  • github.com/twisted/twisted/security/advisories/GHSA-q7qq-6mhp-9rc4
  • nvd.nist.gov/vuln/detail/CVE-2026-115877

Code Behaviors & Features

Detect and mitigate CVE-2026-115877 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 26.10.0-rc.1

Fixed versions

  • 26.10.0-rc.1

Solution

Upgrade to version 26.10.0-rc.1 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')

Source file

pypi/Twisted/CVE-2026-115877.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:45 +0000.