{"id":"CVE-2026-44546","aliases":["ALPINE-CVE-2026-44546","DEBIAN-CVE-2026-44546","EUVD-2026-34092","GHSA-xh68-hfp5-5x5m","PYSEC-2026-214","UBUNTU-CVE-2026-44546"],"status":"published","title":"Header injection via WebSocket upgrade parser differential allows ASGI scope header spoofing","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.","severity":{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"low","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00172,"percentile":0.06646,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-444"],"published":"2026-06-03T13:17:55Z","modified":"2026-11-03T06:32:55Z","fixes":[{"ecosystem":"PyPI","package":"daphne","fixed_in":["4.2.2"],"sources":["ghsa","osv"]},{"ecosystem":"Alpine:v3.24","package":"py3-daphne","fixed_in":["4.2.3-r0"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"python-daphne","fixed_in":["4.1.2-2+deb13u1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"python-daphne","fixed_in":["4.2.2-0.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"daphne","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.2"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"py3-daphne","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.3-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"python-daphne","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.0.0-1","4.1.2-1","4.1.2-2","4.2.1-1","4.2.1-2","4.2.2-0.1","4.2.3-1"]},{"source":"osv","ecosystem":"Debian:13","package":"python-daphne","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.1.2-2+deb13u1"}]}],"versions":["4.1.2-2"]},{"source":"osv","ecosystem":"Debian:14","package":"python-daphne","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.2-0.1"}]}],"versions":["4.1.2-2","4.2.1-1","4.2.1-2"]},{"source":"osv","ecosystem":"PyPI","package":"daphne","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.2"}]}],"versions":["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","0.8.1","0.8.2","0.9","0.9.1","0.9.2","0.9.3","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.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.0.0","3.0.1","3.0.2","4.0.0","4.0.0b1","4.1.0","4.1.1","4.1.2","4.2.0","4.2.1"]},{"source":"osv","ecosystem":"PyPI","package":"daphne","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.2"}]}],"versions":["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","0.8.1","0.8.2","0.9","0.9.1","0.9.2","0.9.3","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.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.0.0","3.0.1","3.0.2","4.0.0","4.0.0b1","4.1.0","4.1.1","4.1.2","4.2.0","4.2.1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"python-daphne","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.2-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"python-daphne","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.0-1","2.4.0-1","2.4.1-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"python-daphne","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0.1-1","3.0.2-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"python-daphne","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.0.0-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"python-daphne","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.1.2-2"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"python-daphne","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.2.1-2","4.2.2-0.1","4.2.3-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"python-daphne","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.1.2-2","4.2.1-1","4.2.1-2"]}],"products":[{"vendor":"djangoproject","product":"daphne"}],"references":[{"url":"https://github.com/django/daphne/blob/main/CHANGELOG.txt","tags":["release-notes","Release Notes","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44546","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/daphne/PYSEC-2026-214.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-xh68-hfp5-5x5m","tags":["advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2026-44546","tags":["advisory"]},{"url":"https://github.com/django/daphne/","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44546.json","tags":["advisory"]},{"url":"https://pypi.org/project/daphne/","tags":["package"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-44546","tags":["advisory"]},{"url":"https://github.com/django/daphne","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2026-44546","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-44546","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-44546","title":"Header injection via WebSocket upgrade parser differential allows ASGI scope header spoofing","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.","status":"published","published":"2026-06-03T13:17:55.283Z","modified":"2026-06-03T15:46:08.745Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"low","assessor":"cna"}],"cwes":["CWE-444"],"updated_at":"2026-11-02T13:42:49.132798Z"}],"euvd":[{"id":"EUVD-2026-34092","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.","status":"published","published":"2026-06-03T13:17:55Z","modified":"2026-06-03T15:46:08Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"low"}],"updated_at":"2026-11-02T18:20:54.253343Z"}],"ghsa":[{"id":"GHSA-xh68-hfp5-5x5m","title":"daphne: WebSocket handshake header smuggling through autobahn splitlines() mishandling of non-standard line separators","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.","status":"published","published":"2026-06-03T15:30:43Z","modified":"2026-07-11T22:53:36Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"low"}],"cwes":["CWE-444"],"updated_at":"2026-11-02T14:40:42.703776Z"}],"nvd":[{"id":"CVE-2026-44546","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.","status":"published","published":"2026-06-03T14:16:43.72Z","modified":"2026-07-22T19:10:00.12Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"low","assessor":"secondary"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-444"],"updated_at":"2026-11-02T14:12:22.022466Z"}],"osv":[{"id":"ALPINE-CVE-2026-44546","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.","status":"published","published":"2026-06-03T14:16:43.72Z","modified":"2026-11-03T06:32:55.948486505Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"updated_at":"2026-11-03T07:16:26.770911Z"},{"id":"CVE-2026-44546","title":"Header injection via WebSocket upgrade parser differential allows ASGI scope header spoofing","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.","status":"published","published":"2026-06-03T13:17:55.283Z","modified":"2026-10-28T02:30:38.552838766Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"low"}],"cwes":["CWE-444"],"updated_at":"2026-11-02T15:45:05.172514Z"},{"id":"DEBIAN-CVE-2026-44546","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.","status":"published","published":"2026-06-03T14:16:43.72Z","modified":"2026-10-01T03:03:13.773201983Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:55.669088Z"},{"id":"GHSA-xh68-hfp5-5x5m","title":"daphne: WebSocket handshake header smuggling through autobahn splitlines() mishandling of non-standard line separators","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.","status":"published","published":"2026-06-03T15:30:43Z","modified":"2026-07-11T23:11:37.809658107Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"low"}],"cwes":["CWE-444"],"updated_at":"2026-11-02T15:46:59.835583Z"},{"id":"PYSEC-2026-214","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.","status":"published","published":"2026-06-03T14:16:43.72Z","modified":"2026-07-13T16:45:11.395803736Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:52:55.537808Z"},{"id":"UBUNTU-CVE-2026-44546","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.","status":"published","published":"2026-06-03T14:16:00Z","modified":"2026-10-17T13:00:09.131980961Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"low"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T16:56:22.075798Z"}]}}
