ADVISORIES

Debian Security Tracker

DEBIAN-CVE-2026-44546

Details

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.

Affected packages

EcosystemPackageAffected versions
Debian:12python-daphne
All versions, no fix listed
Debian:13python-daphne
All versions before 4.1.2-2+deb13u1 (fixed in 4.1.2-2+deb13u1)
Debian:14python-daphne
All versions before 4.2.2-0.1 (fixed in 4.2.2-0.1)

References