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

- Severity: Low 3.7 (CVSS:3.1, scored by DSF) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-06-03T13:17:55.283Z
- Modified: 2026-07-22T19:10:00.120Z
- Also known as: GHSA-xh68-hfp5-5x5m, PYSEC-2026-214
- Weaknesses: CWE-444
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: DSF

## 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.

(As written by CVE List.)

## Affected

- daphne: from 4.2.0 up to 4.2.1 (not affected: 4.2.2)
- daphne (PyPI): before 4.2.2
- djangoproject daphne: before 4.2.2

## Every score

- DSF: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/django/daphne/blob/main/CHANGELOG.txt> (advisory, release-notes, web)
- <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)

## Sources

- CVE List: [CVE-2026-44546](https://www.cve.org/CVERecord?id=CVE-2026-44546), CVE Terms of Use, modified 2026-06-03
- GitHub Advisory Database: [GHSA-xh68-hfp5-5x5m](https://github.com/advisories/GHSA-xh68-hfp5-5x5m), CC-BY-4.0, modified 2026-07-11
- NVD: [CVE-2026-44546](https://nvd.nist.gov/vuln/detail/CVE-2026-44546), Public domain, modified 2026-07-22
- PyPA Advisory Database: [PYSEC-2026-214](https://osv.dev/vulnerability/PYSEC-2026-214), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-44546 · Whole record: https://cve.day/CVE-2026-44546.json · Rebuilt by cve.day 2026-11-25T22:59:23.633Z
