CVE-2026-44546

Header injection via WebSocket upgrade parser differential allows ASGI scope header spoofing

State
Published
Severity
3.7 Low
Published
Jun 3, 2026
Updated
Jun 3, 2026
Reserved
May 6, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.13.7 LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:NDSF

Weaknesses

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

Affected Products

ProductVersions
daphnedjangoproject
  • 4.2.0 through 4.2.1Affected
  • 4.2.2Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.