{"id":"CVE-2026-44546","aliases":["CVE-2026-44546","GHSA-xh68-hfp5-5x5m","PYSEC-2026-214"],"related":[],"kind":"vulnerability","state":"published","title":"Header injection via WebSocket upgrade parser differential allows ASGI scope header spoofing","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"daphne anterior a la versión 4.2.2 reconstruye una solicitud HTTP en bruto a partir de los encabezados analizados de Twisted y la alimenta a autobahn para el procesamiento del handshake de WebSocket. Twisted no trata \\x0b, \\x0c, \\x1c, \\x1d, \\x1e, o \\x85 como separadores de línea de encabezado, pero autobahn decodifica los valores de los encabezados a str y llama a splitlines(). Un atacante puede explotar este diferencial del analizador para inyectar encabezados adicionales en el ámbito ASGI pasado a la aplicación. daphne ahora rechaza las solicitudes con estos bytes en cualquier valor de encabezado con una respuesta 400.","source":"nvd"}],"published":"2026-06-03T13:17:55.283Z","modified":"2026-07-22T19:10:00.120Z","severity":{"scorer":"DSF","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","score":3.7,"rating":"LOW"},"severities":[{"scorer":"DSF","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","score":3.7,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","score":3.7,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-444"],"affected":[{"ranges":[{"type":"python","introduced":"4.2.0","lastAffected":"4.2.1","status":"affected"},{"type":"python","version":"4.2.2","status":"unaffected"}],"vendor":"djangoproject","product":"daphne","package":"daphne","repo":"https://github.com/django/daphne/","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.2.2"}],"ecosystem":"PyPI","package":"daphne","purl":"pkg:pypi/daphne","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"4.2.2"}],"vendor":"djangoproject","product":"daphne","cpe":"cpe:2.3:a:djangoproject:daphne:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.2.2"}],"ecosystem":"PyPI","package":"daphne","purl":"pkg:pypi/daphne","source":"pysec"}],"references":[{"url":"https://github.com/django/daphne/blob/main/CHANGELOG.txt","tags":["advisory","release-notes","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44546","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/django/daphne","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/daphne/PYSEC-2026-214.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-xh68-hfp5-5x5m","tags":["advisory"],"sources":["pysec"]}],"credits":["Rene Henningsen","Carlton Gibson"],"assigner":"DSF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-03T15:45:59.459Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-44546","url":"https://www.cve.org/CVERecord?id=CVE-2026-44546","licence":"CVE Terms of Use","modified":"2026-06-03T15:46:08.745Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-xh68-hfp5-5x5m","url":"https://github.com/advisories/GHSA-xh68-hfp5-5x5m","licence":"CC-BY-4.0","modified":"2026-07-11T23:11:37.809Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-44546","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44546","licence":"Public domain","modified":"2026-07-22T19:10:00.120Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-214","url":"https://osv.dev/vulnerability/PYSEC-2026-214","licence":"CC-BY-4.0","modified":"2026-07-13T16:45:11.395Z"}],"updatedAt":"2026-11-25T22:59:23.633Z","epss":{"score":0.00172,"percentile":0.06938,"date":"2026-12-01T12:00:22.000Z"}}