PYSEC-2026-214

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/daphne/PYSEC-2026-214.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2026-214
Aliases
  • CVE-2026-44546
Published
2026-06-03T14:16:43.720Z
Modified
2026-06-16T16:15:04.651902410Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
[none]
Details

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

Affected packages

PyPI / daphne

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.2.2

Affected versions

0.*
0.8.1
0.8.2
0.9
0.9.1
0.9.2
0.9.3
0.10.0
0.10.1
0.10.2
0.10.3
0.11.0
0.11.1
0.11.2
0.11.3
0.12.0
0.12.1
0.12.2
0.13.0
0.13.1
0.14.0
0.14.1
0.14.2
0.14.3
0.15.0
1.*
1.0.0
1.0.1
1.0.2
1.0.3
1.1.0
1.2.0
1.3.0
1.4.0
1.4.1
1.4.2
2.*
2.0.0
2.0.1
2.0.2
2.0.3
2.0.4
2.1.0
2.1.1
2.1.2
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.3.0
2.4.0
2.4.1
2.5.0
3.*
3.0.0
3.0.1
3.0.2
4.*
4.0.0b1
4.0.0
4.1.0
4.1.1
4.1.2
4.2.0
4.2.1

Database specific

source
"https://github.com/pypa/advisory-database/blob/main/vulns/daphne/PYSEC-2026-214.yaml"