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.
Published: 2026-10-23
Score: 5.4 Medium
EPSS: n/a
KEV: No
Impact: HTTP Request Smuggling and Cache Poisoning
Action: Patch
AI Analysis

Impact

Twisted’s HTTPChannel rejects NUL bytes but accepts bare carriage returns or line feeds in header values. Because header lines are split only on CRLF, an attacker can insert a bare CR or LF to cause a lenient front‑end to treat the character as a line terminator. This creates a hidden header line folded into another header while the following request is injected, producing a framing mismatch that smuggles a request past front‑end access controls, poisons a shared connection or cache, and exposes later clients to unintended responses.

Affected Systems

Twisted framework (twisted:twisted) versions prior to 26.10.0rc1 are affected. The vulnerability is fixed in version 26.10.0rc1 and all subsequent releases.

Risk and Exploitability

The CVSS score of 5.4 indicates moderate severity. No EPSS score is available, and the issue is not listed in CISA KEV. Exploitation requires a crafted HTTP request that passes through a front‑end that accepts bare CR or LF characters, making the likely attack vector network‑based. An attacker could inject requests that bypass access controls or corrupt a cache, potentially leading to unauthorized request execution or information disclosure to later clients.

Generated by OpenCVE AI on October 23, 2026 at 21:50 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Twisted 26.10.0rc1 or later to enforce strict CRLF header termination.
  • If an immediate upgrade is not possible, reconfigure any front‑end proxy or load balancer to reject headers containing bare carriage return or line feed characters.
  • Monitor Twisted server traffic and logs for anomalous header patterns or repeated unexpected request injections, and block suspicious IPs or request patterns accordingly.

Generated by OpenCVE AI on October 23, 2026 at 21:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-q7qq-6mhp-9rc4 Twisted: HTTP Request Smuggling in twisted.web via a Bare CR or LF in a Header Value
History

Sat, 24 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Fri, 23 Oct 2026 23:00:00 +0000

Type Values Removed Values Added
First Time appeared Twisted
Twisted twisted
Vendors & Products Twisted
Twisted twisted

Fri, 23 Oct 2026 20:45:00 +0000

Type Values Removed Values Added
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.
Title Twisted: HTTP Request Smuggling in twisted.web via a Bare CR or LF in a Header Value
Weaknesses CWE-444
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-23T20:25:12.031Z

Reserved: 2026-10-23T19:37:27.176Z

Link: CVE-2026-115877

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-23T21:17:23.643

Modified: 2026-10-23T21:17:23.643

Link: CVE-2026-115877

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-23T20:25:12Z

Links: CVE-2026-115877 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T22:45:14Z

Weaknesses
  • CWE-444

    Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')