Security mailing lists by PureSourceCode

CVE-2026-44546

MEDIUM 5.3CVSS 3.1

daphne: 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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD djangoproject daphne
cpe:2.3:a:djangoproject:daphne:*:*:*:*:*:*:*:*
< 4.2.2 4.2.2
OSV PyPI daphne < 4.2.2 4.2.2

References

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.