CVE-2026-44546
Header injection via WebSocket upgrade parser differential allows ASGI scope header spoofing
Also known as GHSA-xh68-hfp5-5x5m, PYSEC-2026-214
Mitigation
- Upgrade daphne to 4.2.2 or later.
Who should check
- Projects that depend on PyPI package daphne (< 4.2.2)
- Anyone running djangoproject daphne >= 4.2.0, <= 4.2.1
Vulnerability facts
- Affected
- daphne < 4.2.2
- Fixed in
- 4.2.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 3.7 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: None
- Availability impact: None
- EPSS
- 0.29% chance of exploitation in 30 days (percentile 14, 2026-11-26)
- CWE
- CWE-444
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| PyPI daphne | < 4.2.2 | 4.2.2 | osv |
| djangoproject daphne | >= 4.2.0, <= 4.2.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-44546. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-44546.md Affected: daphne < 4.2.2 Fixed in: 4.2.2 Steps: 1. Search this machine and project for daphne (PyPI), djangoproject daphne: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2026-44546 being exploited?
There is no confirmed exploitation: CVE-2026-44546 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-44546?
Low: CVSS 3.7 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-44546?
daphne < 4.2.2.
Is there a fix for CVE-2026-44546?
Yes. Fixed in 4.2.2. Upgrade daphne to 4.2.2 or later.
How do I check if I'm affected by CVE-2026-44546?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.