ZeroHour

CVE-2026-56811

large

Unauthenticated DoS via unbounded channel joins in Phoenix (Elixir) web framework

CVSS 4.0
8.7 high
EPSS
<1%p53
Published
()
Modified
AI analysis

Phoenix's WebSocket and LongPoll transports place no limit on the number of channels a single connection can join, allowing an unauthenticated remote client to cause the application to spawn hundreds of thousands of processes and hit the Erlang VM's maximum process limit. The flaw is triggered simply by connecting to an exposed LongPoll or WebSocket endpoint on a Phoenix app and joining a very large number of channels over one connection. The result is denial of service (high availability impact only, per the CVSS 4.0 score of 8.7), with no confidentiality or integrity impact. Any Phoenix application exposing these transports is affected; the source data does not specify affected or fixed version ranges. Exploitation has not been observed: there is no public proof-of-concept, the issue is not in CISA KEV, and EPSS estimates about a 0.8% probability of exploitation within 30 days.

What to do: Upgrade to a patched Phoenix release that caps the number of channels per transport as soon as one is available (check the Phoenix security advisory for the fixed version, which is not stated in this data). As interim mitigation, cap or rate-limit concurrent WebSocket/LongPoll connections per client IP at your reverse proxy or load balancer and monitor Erlang VM process counts for unusual growth; applications that do not need LongPoll/WebSocket transports can disable them.

Affected
Phoenix Framework (phoenixframework) Phoenix (Elixir web framework, Erlang ecosystem)
Estimated exposure
largeplausibly ~10,000-100,000 deployed Phoenix applications, with only the subset exposing LongPoll/WebSocket transports actually vulnerable — Estimated from Phoenix's position as the dominant Elixir web framework (tens of millions of Hex package downloads) and typical deployment patterns, since only apps with publicly reachable LongPoll/WebSocket endpoints are exposed; no…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

Allocation of Resources Without Limits or Throttling vulnerability in phoenixframework phoenix (Phoenix.Socket module) allows an unauthenticated attacker to cause a denial of service against any endpoint that mounts a Phoenix socket with a reachable channel transport (WebSocket or LongPoll). This vulnerability is associated with program files lib/phoenix/socket.ex and program routine 'Elixir.Phoenix.Socket':handle_in/4. Phoenix transports do not limit the number of channels that a single transport process may join. Every phx_join message a client sends over one connection starts a persistent channel process, and the socket process accepts an unbounded number of them. A single unauthenticated client can therefore open one WebSocket or LongPoll connection and stream a large number of phx_join messages, spawning hundreds of thousands of channel processes over that one connection and eventually reaching the BEAM maximum process limit. Once the process table is exhausted the virtual machine can no longer start new processes, denying service to legitimate traffic across the whole node. Because the amplification happens inside a single connection, network-layer connection caps and rate limiting do not mitigate it. The fix adds a :max_channels_per_transport option (default 100) that bounds the number of channels a single transport process can join, forcing abusive clients to open many connections instead, where external load balancers and reverse proxies can throttle them. This issue affects phoenix: from 0.11.0 before 1.5.15, from 1.6.0-rc.0 before 1.6.17, from 1.7.0-rc.0 before 1.7.24, and from 1.8.0-rc.0 before 1.8.9.

Vendors
phoenixframework
Products
phoenix
Ecosystems
erlang
Weakness
CWE-770
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
GHSA
GHSA-6983-jfq8-485w (high)

In the news

No ingested article mentions this CVE yet.