Description
daphne before 4.2.2 did not pass maxFramePayloadSize or maxMessagePayloadSize to Autobahn's WebSocketServerFactory. Because Autobahn defaults both values to 0 (unlimited), an unauthenticated remote attacker could send arbitrarily large WebSocket messages or frames, causing excessive memory consumption and a denial of service.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| djangoproject | daphne | 4.2.0 – ≤ 4.2.1 | 4.2.2 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | python-daphne | 4.2.2-0.1 | — |
| Debian 13 | python-daphne | 4.1.2-2+deb13u1 | — |
| Debian 12 | python-daphne | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | python-daphne | No fix yet | — |
| Ubuntu 26.04 LTS | python-daphne | No fix yet | — |
| Ubuntu 25.10 | python-daphne | No fix yet | — |
| Ubuntu 24.04 LTS | python-daphne | No fix yet | — |
| Ubuntu 22.04 LTS | python-daphne | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | python-daphne | No fix yet | — |
| Ubuntu 18.04 LTS | python-daphne | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Ansible Automation Platform Inside 2 | receptor +1 | 1.6.7-1.el8ap | RHSA-2026:50336, RHSA-2026:50319 |
| Red Hat Ansible Automation Platform Developer 2 | automation-controller +1 | 4.7.15-2.el9ap | RHSA-2026:59136, RHSA-2026:50336 |
| Red Hat Ansible Automation Platform Developer 2 | python-django +1 | 5.2.17-1.el10ap | RHSA-2026:59136 |
| Red Hat Ansible Automation Platform Developer 2 | python3.12-django | 5.2.17-1.el9ap | RHSA-2026:59136 |
| Red Hat Ansible Automation Platform Developer 2 | receptor +1 | 1.6.7-1.el8ap | RHSA-2026:50336, RHSA-2026:50319 |
| Red Hat Ansible Automation Platform 2 | automation-controller +3 | 4.7.15-2.el9ap | RHSA-2026:59136, RHSA-2026:50336 |
| Red Hat Ansible Automation Platform 2 | automation-controller-venv-tower | 4.6.31-1.el8ap | RHSA-2026:59136, RHSA-2026:50336, RHSA-2026:50319 |
| Red Hat Ansible Automation Platform 2 | automation-eda-controller +4 | 1.1.21-1.el8ap | RHSA-2026:50336, RHSA-2026:50319 |
| Red Hat Ansible Automation Platform 2 | automation-gateway-proxy +1 | 2.5.10-7.el8ap | RHSA-2026:50336, RHSA-2026:50319 |
| Red Hat Ansible Automation Platform 2 | automation-platform-ui | 2.6.13-1.el9ap | RHSA-2026:59136 |
| Red Hat Ansible Automation Platform 2 | python-django +1 | 5.2.17-1.el10ap | RHSA-2026:59136 |
| Red Hat Ansible Automation Platform 2 | python3.12-aiohttp | 3.14.1-2.el8ap | RHSA-2026:59136, RHSA-2026:50336, RHSA-2026:50319 |
| Red Hat Ansible Automation Platform 2 | python3.12-daphne | 4.2.2-1.el8ap | RHSA-2026:50336, RHSA-2026:50319 |
| Red Hat Ansible Automation Platform 2 | python3.12-django | 5.2.17-1.el9ap | RHSA-2026:59136 |
| Red Hat Ansible Automation Platform 2 | python3.12-gitpython | 3.1.59-1.el9ap | RHSA-2026:59136 |
| Red Hat Ansible Automation Platform 2 | python3.12-pillow | 12.3.0-1.el8ap | RHSA-2026:50336, RHSA-2026:50319 |
| Red Hat Ansible Automation Platform 2 | python3.12-pyasn1 | 0.6.4-1.el8ap | RHSA-2026:50336, RHSA-2026:50319 |
| Red Hat Ansible Automation Platform 2 | receptor +1 | 1.6.7-1.el8ap | RHSA-2026:50336, RHSA-2026:50319 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | py3-daphne | 4.2.3-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | daphne | < 4.2.2 | 4.2.2 | GHSA-rrc9-mx66-ffcm |
Advisories 3
- RHSA-2026:59136 Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:50319 Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Product Security and Bug Fix Update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:50336 Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update Red Hat Security Advisories (RHSA) · Oct 20, 2026
References
- https://github.com/django/daphne/blob/main/CHANGELOG.txt release-notes