Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. daphne
  4. ›
  5. CVE-2026-44546

CVE-2026-44546: daphne: WebSocket handshake header smuggling through autobahn splitlines() mishandling of non-standard line separators

June 3, 2026 (updated July 11, 2026)

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.

References

  • github.com/advisories/GHSA-xh68-hfp5-5x5m
  • github.com/django/daphne/blob/main/CHANGELOG.txt
  • github.com/pypa/advisory-database/tree/main/vulns/daphne/PYSEC-2026-214.yaml
  • nvd.nist.gov/vuln/detail/CVE-2026-44546

Code Behaviors & Features

Detect and mitigate CVE-2026-44546 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.2.2

Fixed versions

  • 4.2.2

Solution

Upgrade to version 4.2.2 or above.

Impact 3.7 LOW

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')

Source file

pypi/daphne/CVE-2026-44546.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:17:39 +0000.