CVE 3.7 LOW

Header injection via WebSocket upgrade parser differential allows ASGI scope header spoofing_CVE-2026-44546

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

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.

Basic Information

ID CVE-2026-44546
Source DSF
Published Jun 3, 2026 at 13:17

Affected Product

Vendor djangoproject
Product daphne
Version 4.2.0
Affected Versions djangoproject daphne 4.2.0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.