Skip to content

CVE-2026-44546 Header injection via WebSocket upgrade parser differential allows ASGI scope header spoofing

MediumCVSS 5.3 EPSS 0.17%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
pypi daphne(PyPI) < 4.2.2 4.2.2
pypi daphne(PyPI) = 0.10.0 No fix listed
pypi daphne(PyPI) = 0.10.1 No fix listed
pypi daphne(PyPI) = 0.10.2 No fix listed
pypi daphne(PyPI) = 0.10.3 No fix listed
pypi daphne(PyPI) = 0.11.0 No fix listed
pypi daphne(PyPI) = 0.11.1 No fix listed
pypi daphne(PyPI) = 0.11.2 No fix listed
pypi daphne(PyPI) = 0.11.3 No fix listed
pypi daphne(PyPI) = 0.12.0 No fix listed
pypi daphne(PyPI) = 0.12.1 No fix listed
pypi daphne(PyPI) = 0.12.2 No fix listed
pypi daphne(PyPI) = 0.13.0 No fix listed
pypi daphne(PyPI) = 0.13.1 No fix listed
pypi daphne(PyPI) = 0.14.0 No fix listed
pypi daphne(PyPI) = 0.14.1 No fix listed
pypi daphne(PyPI) = 0.14.2 No fix listed
pypi daphne(PyPI) = 0.14.3 No fix listed
pypi daphne(PyPI) = 0.15.0 No fix listed
pypi daphne(PyPI) = 0.8.1 No fix listed
pypi daphne(PyPI) = 0.8.2 No fix listed
pypi daphne(PyPI) = 0.9 No fix listed
pypi daphne(PyPI) = 0.9.1 No fix listed
pypi daphne(PyPI) = 0.9.2 No fix listed
pypi daphne(PyPI) = 0.9.3 No fix listed
Show 67 more
ProductAffected versionsFixed in
pypi daphne(PyPI) = 1.0.0 No fix listed
pypi daphne(PyPI) = 1.0.1 No fix listed
pypi daphne(PyPI) = 1.0.2 No fix listed
pypi daphne(PyPI) = 1.0.3 No fix listed
pypi daphne(PyPI) = 1.1.0 No fix listed
pypi daphne(PyPI) = 1.2.0 No fix listed
pypi daphne(PyPI) = 1.3.0 No fix listed
pypi daphne(PyPI) = 1.4.0 No fix listed
pypi daphne(PyPI) = 1.4.1 No fix listed
pypi daphne(PyPI) = 1.4.2 No fix listed
pypi daphne(PyPI) = 2.0.0 No fix listed
pypi daphne(PyPI) = 2.0.1 No fix listed
pypi daphne(PyPI) = 2.0.2 No fix listed
pypi daphne(PyPI) = 2.0.3 No fix listed
pypi daphne(PyPI) = 2.0.4 No fix listed
pypi daphne(PyPI) = 2.1.0 No fix listed
pypi daphne(PyPI) = 2.1.1 No fix listed
pypi daphne(PyPI) = 2.1.2 No fix listed
pypi daphne(PyPI) = 2.2.0 No fix listed
pypi daphne(PyPI) = 2.2.1 No fix listed
pypi daphne(PyPI) = 2.2.2 No fix listed
pypi daphne(PyPI) = 2.2.3 No fix listed
pypi daphne(PyPI) = 2.2.4 No fix listed
pypi daphne(PyPI) = 2.2.5 No fix listed
pypi daphne(PyPI) = 2.3.0 No fix listed
pypi daphne(PyPI) = 2.4.0 No fix listed
pypi daphne(PyPI) = 2.4.1 No fix listed
pypi daphne(PyPI) = 2.5.0 No fix listed
pypi daphne(PyPI) = 3.0.0 No fix listed
pypi daphne(PyPI) = 3.0.1 No fix listed
pypi daphne(PyPI) = 3.0.2 No fix listed
pypi daphne(PyPI) = 4.0.0 No fix listed
pypi daphne(PyPI) = 4.0.0b1 No fix listed
pypi daphne(PyPI) = 4.1.0 No fix listed
pypi daphne(PyPI) = 4.1.1 No fix listed
pypi daphne(PyPI) = 4.1.2 No fix listed
pypi daphne(PyPI) = 4.2.0 No fix listed
pypi daphne(PyPI) = 4.2.1 No fix listed
pypi daphne(PyPI) >= 4.2.0, <= 4.2.1 No fix listed
redhat/ansible-automation-platform-25/lightspeed-rhel8(Red Hat:ansible_automation_platform:2) All versions No fix listed
redhat/ansible-automation-platform-26/controller-rhel9(Red Hat:ansible_automation_platform:2) All versions No fix listed
redhat/ansible-automation-platform-26/eda-controller-rhel9(Red Hat:ansible_automation_platform:2) All versions No fix listed
redhat/ansible-automation-platform-26/lightspeed-rhel9(Red Hat:ansible_automation_platform:2) All versions No fix listed
redhat/ansible-automation-platform-27/controller-rhel9(Red Hat:ansible_automation_platform:2) All versions No fix listed
redhat/ansible-automation-platform-27/eda-controller-rhel9(Red Hat:ansible_automation_platform:2) All versions No fix listed
redhat/ansible-automation-platform-27/lightspeed-rhel9(Red Hat:ansible_automation_platform:2) All versions No fix listed
redhat/automation-controller(Red Hat:ansible_automation_platform:2) All versions No fix listed
debian/python-daphne(Debian:12) All versions No fix listed
debian/python-daphne(Debian:12) = 4.0.0-1 No fix listed
debian/python-daphne(Debian:12) = 4.1.2-1 No fix listed
debian/python-daphne(Debian:12) = 4.1.2-2 No fix listed
debian/python-daphne(Debian:12) = 4.2.1-1 No fix listed
debian/python-daphne(Debian:12) = 4.2.1-2 No fix listed
debian/python-daphne(Debian:12) = 4.2.2-0.1 No fix listed
debian/python-daphne(Debian:12) = 4.2.3-1 No fix listed
debian/python-daphne(Debian:13) < 4.1.2-2+deb13u1 4.1.2-2+deb13u1
debian/python-daphne(Debian:13) = 4.1.2-2 No fix listed
debian/python-daphne(Debian:14) < 4.2.2-0.1 4.2.2-0.1
debian/python-daphne(Debian:14) = 4.1.2-2 No fix listed
debian/python-daphne(Debian:14) = 4.2.1-1 No fix listed
debian/python-daphne(Debian:14) = 4.2.1-2 No fix listed
ubuntu/python-daphne(Ubuntu:22.04) All versions No fix listed
alpine/py3-daphne(Alpine:v3.24) < 4.2.3-r0 4.2.3-r0
ubuntu/python-daphne(Ubuntu:24.04) All versions No fix listed
ubuntu/python-daphne(Ubuntu:26.04) All versions No fix listed
ubuntu/python-daphne(Ubuntu:26.10) All versions No fix listed
djangoproject daphne < 4.2.2 4.2.2

References