CVE-2026-44546 Header injection via WebSocket upgrade parser differential allows ASGI scope header spoofing
Attacker can spoof ASGI scope headers via parser differential in Daphne, potentially bypassing security checks or modifying application state.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-44546?
CVE-2026-44546 is a low-severity vulnerability in djangoproject daphne, published on 3 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-444
Which versions are affected by CVE-2026-44546?
3 open source packages ship an affected version, including daphne. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
daphne PyPI | All versions | 4.2.2 |
daphne PyPI | All versions | 4.2.2 |
daphne PyPI | All versions | 4.2.2 |
Products include Djangoproject Daphne.
How do I fix CVE-2026-44546?
Upgrade daphne to 4.2.2 or later.
Is CVE-2026-44546 being exploited?
There is no known exploitation of CVE-2026-44546 in the wild and no public exploit code.
Other vulnerabilities in djangoproject daphne
Sources
Also known as DEBIAN-CVE-2026-44546, ECHO-5670-4874-599c, GHSA-xh68-hfp5-5x5m, PYSEC-2026-214, UBUNTU-CVE-2026-44546.