Header injection via WebSocket upgrade parser differential allows ASGI scope header spoofing
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| djangoproject | daphne | 4.2.0 – 4.2.1 | 4.2.2 | Patch available | CNA |
| — | daphne (PyPI) | before 4.2.2 | 4.2.2 | Patch available | GHSA-xh68-hfp5-5x5m |
- daphne Vendordjangoproject Affected 4.2.0 – 4.2.1 Fixed in 4.2.2 Patch available CNA
- daphne (PyPI) Vendor— Affected before 4.2.2 Fixed in 4.2.2 Patch available GHSA-xh68-hfp5-5x5m
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:djangoproject:daphne:*:*:*:*:*:*:*:* | before 4.2.2 | Vulnerable | djangoproject |
- cpe:2.3:a:djangoproject:daphne:*:*:*:*:*:*:*:* Versions before 4.2.2 Vulnerable ·djangoproject
Remediation
- Fix · CNA daphne (djangoproject) Fixed in 4.2.2
- Fix · GHSA-xh68-hfp5-5x5m daphne (PyPI) Fixed in 4.2.2 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Ansible Automation Platform 2 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-44546
- 2026-10-03 Alias added: GHSA-xh68-hfp5-5x5m
References
More djangoproject Daphne vulnerabilities
- TI-2026-32457 Unbounded WebSocket message and frame sizes can cause unauthenticated remote denial of service CVSS 3.1HIGH 7.5
Sources
- CVE-2026-44546 · CVE Program
- CVE-2026-44546 · NVD
- FIRST EPSS
- GHSA-xh68-hfp5-5x5m · GitHub Advisory Database · CC BY 4.0
- CVE-2026-44546 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences