Header injection via WebSocket upgrade parser differential allows ASGI scope header spoofing
Summary
| CVE | CVE-2026-44546 |
|---|---|
| State | PUBLISHED |
| Assigner | DSF |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-06-03 14:16:43 UTC |
| Updated | 2026-06-15 19:52:47 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 5.3 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS: 0.001720000 probability, percentile 0.068160000 (date 2026-06-20)
Problem Types: CWE-444 | CWE-444 CWE-444 (Inconsistent Interpretation of HTTP Requests -- "HTTP Request/Response Smuggling")
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 5.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| 3.1 | 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92 | Secondary | 3.7 | LOW | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| 3.1 | CNA | CVSS | 3.7 | LOW | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
LowIntegrity
NoneAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Djangoproject | Daphne | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Djangoproject | Daphne | affected 4.2.0 4.2.1 python | Not specified |
| CNA | Djangoproject | Daphne | unaffected 4.2.2 python | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/django/daphne/blob/main/CHANGELOG.txt | 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92 | github.com | Release Notes |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Rene Henningsen (en)
CNA: Carlton Gibson (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-04-09T03:00:00.000Z | Initial report received. |
| CNA | 2026-05-06T03:00:00.000Z | Vulnerability confirmed. |
There are currently no legacy QID mappings associated with this CVE.