CVE-2026-44546
MEDIUM 5.3CVSS 3.1daphne: WebSocket handshake header smuggling through autobahn splitlines() mishandling of non-standard line separators
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.
- Published
- 3 Jun 2026
- Last modified
- 22 Jul 2026
- Assigned by
- 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92
- NVD status
- Analyzed
- Weakness
- CWE-444
- Also known as
- GHSA-xh68-hfp5-5x5mPYSEC-2026-214
- Sources
- NVDJSONOSV GHSA-xh68-hfp5-5x5mJSONOSV PYSEC-2026-214JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92 (Secondary) | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | djangoproject | daphnecpe:2.3:a:djangoproject:daphne:*:*:*:*:*:*:*:* |
< 4.2.2 | 4.2.2 |
| OSV | PyPI | daphne | < 4.2.2 | 4.2.2 |
References
- https://github.com/django/daphne/blob/main/CHANGELOG.txt · Release Notes, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-44546 · ADVISORY
- https://github.com/django/daphne · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/daphne/PYSEC-2026-214.yaml · WEB
- https://github.com/advisories/GHSA-xh68-hfp5-5x5m · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 3 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 3 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 3 Jun 2026)