CVE-2026-44546
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.
How to fix
- djangoproject daphne4.2.2 or later
- daphne4.2.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| djangoproject daphne | v < 4.2.2 | 4.2.2 |
| daphnePyPI | v < 4.2.2 | 4.2.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.