CVE-2026-44546 PUBLISHED

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

Assigner: DSF
Reserved: 06.05.2026 Published: 03.06.2026 Updated: 03.06.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS Score: 3.7

Product Status

Vendor djangoproject
Product daphne
Versions Default: unaffected
  • affected from 4.2.0 to 4.2.1 (incl.)
  • Version 4.2.2 is unaffected

Credits

  • Rene Henningsen reporter
  • Carlton Gibson remediation developer

References

Problem Types

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

Impacts

  • CAPEC-33: HTTP Request Smuggling