Live threats

All CVEs / Djangoproject

CVE-2026-44545Djangoproject Daphne

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Jun 3, 2026
Updated
Jul 22, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-770
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Daphne.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI daphne < 4.2.2 4.2.2 pip install "daphne>=4.2.2"
PyPI daphne < 4.2.2 4.2.2 pip install "daphne>=4.2.2"

Per OSV / GitHub Advisories (GHSA-rrc9-mx66-ffcm, PYSEC-2026-213). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
djangoprojectdaphne< 4.2.2

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.