Vulnerability · Published Jun 3, 2026 · Assigned by DSF

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

Low 3.7

In plain English

A low-severity security flaw in daphne from djangoproject. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 7% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)3.7Low
Exploit odds (30 days)0.2%top 93.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.24py3-daphne4.2.3-r0ALPINE-CVE-2026-44546
Debian:12python-daphneno fix listedDEBIAN-CVE-2026-44546
Debian:13python-daphne4.1.2-2+deb13u1DEBIAN-CVE-2026-44546
Debian:14python-daphne4.2.2-0.1DEBIAN-CVE-2026-44546
PyPIdaphne4.2.2PYSEC-2026-214
PyPIdaphne4.2.2GHSA-xh68-hfp5-5x5m
Ubuntu:22.04:LTSpython-daphneno fix listedUBUNTU-CVE-2026-44546
Ubuntu:24.04:LTSpython-daphneno fix listedUBUNTU-CVE-2026-44546
Ubuntu:25.10python-daphneno fix listedUBUNTU-CVE-2026-44546
Ubuntu:26.04:LTSpython-daphneno fix listedUBUNTU-CVE-2026-44546
Ubuntu:26.10python-daphneno fix listedUBUNTU-CVE-2026-44546

Affected products (as reported)

VendorProductVersions
djangoproject daphne 4.2.0 – through 4.2.1

Weakness: CWE-444 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

References