CVE-2026-44546 Details
Description
daphne before 4.2.2 reconstructs a raw HTTP request from Twisted's parsed headers and feeds it to autobahn for WebSocket handshake processing. Twisted does not treat \x0b, \x0c, \x1c, \x1d, \x1e, or \x85 as header line separators, but autobahn decodes header values to str and calls splitlines(). An attacker can exploit this parser differential to inject additional headers into the ASGI scope passed to the application. daphne now rejects requests with these bytes in any header value with a 400 response.
A header injection vulnerability has been identified in Daphne versions prior to 4.2.2. The issue arises during the WebSocket handshake process, where Daphne reconstructs a raw HTTP request from Twisted's parsed headers. Twisted does not recognize certain byte sequences as header line separators, but Autobahn, which handles WebSocket handshakes, does. This discrepancy allows an attacker to inject additional headers into the ASGI scope passed to the application by exploiting the way headers are parsed and interpreted. Vulnerable header values could include authentication tokens and other sensitive information.
Users can update to Daphne version 4.2.2 or later, which addresses the vulnerability by rejecting requests with the problematic byte sequences in header values and responding with a 400 Bad Request.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 3, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/django/daphne/blob/main/CHANGELOG.txt | Django Software Foundation | Release Notes |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-444 | Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling') | Django Software Foundation |
Affected Products
| Product | Versions |
|---|---|
| djangoproject daphne | < 4.2.2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 22, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | Django Software Foundation |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 15, 2026 | Initial Analysis | [email protected] |
| Jun 3, 2026 | New CVE Received | Django Software Foundation |