{"affected":[{"package":{"ecosystem":"Hex","name":"phoenix","purl":"pkg:hex/phoenix"},"ranges":[{"events":[{"introduced":"0.11.0"},{"fixed":"1.5.15"}],"type":"SEMVER"},{"events":[{"introduced":"1.6.0-rc.0"},{"fixed":"1.6.17"}],"type":"SEMVER"},{"events":[{"introduced":"1.7.0-rc.0"},{"fixed":"1.7.24"}],"type":"SEMVER"},{"events":[{"introduced":"1.8.0-rc.0"},{"fixed":"1.8.9"}],"type":"SEMVER"}],"versions":["0.11.0","0.12.0","0.13.0","0.13.1","0.14.0","0.15.0","0.16.0","0.16.1","0.17.0","0.17.1","1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.1.0","1.1.1","1.1.2","1.1.3","1.1.4","1.1.5","1.1.6","1.1.7","1.1.8","1.1.9","1.2.0-rc.0","1.2.0-rc.1","1.2.0","1.2.1","1.2.2","1.2.3","1.2.4","1.2.5","1.3.0-rc.0","1.3.0-rc.1","1.3.0-rc.2","1.3.0-rc.3","1.3.0","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.4.0-rc.0","1.4.0-rc.1","1.4.0-rc.2","1.4.0-rc.3","1.4.0","1.4.1","1.4.2","1.4.3","1.4.4","1.4.5","1.4.6","1.4.7","1.4.8","1.4.9","1.4.10","1.4.11","1.4.12","1.4.13","1.4.14","1.4.15","1.4.16","1.4.17","1.4.18","1.5.0-rc.0","1.5.0","1.5.1","1.5.2","1.5.3","1.5.4","1.5.5","1.5.6","1.5.7","1.5.8","1.5.9","1.5.10","1.5.11","1.5.12","1.5.13","1.5.14","1.6.0-rc.0","1.6.0-rc.1","1.6.0","1.6.1","1.6.2","1.6.3","1.6.4","1.6.5","1.6.6","1.6.7","1.6.8","1.6.9","1.6.10","1.6.11","1.6.12","1.6.13","1.6.14","1.6.15","1.6.16","1.7.0-rc.0","1.7.0-rc.1","1.7.0-rc.2","1.7.0-rc.3","1.7.0","1.7.1","1.7.2","1.7.3","1.7.4","1.7.5","1.7.6","1.7.7","1.7.8","1.7.9","1.7.10","1.7.11","1.7.12","1.7.13","1.7.14","1.7.15","1.7.16","1.7.17","1.7.18","1.7.19","1.7.20","1.7.21","1.7.22","1.7.23","1.8.0-rc.0","1.8.0-rc.1","1.8.0-rc.2","1.8.0-rc.3","1.8.0-rc.4","1.8.0","1.8.1","1.8.2","1.8.3","1.8.4","1.8.5","1.8.6","1.8.7","1.8.8"]},{"ranges":[{"events":[{"introduced":"14a297e88023cb280a577962a49a0bbdeef9f4eb"},{"fixed":"c498ba8cf49f6accbbd0c643a5340b58db891218"},{"fixed":"d19ca0a8d9f82c130b7ed339b9f033433e2dea5e"},{"fixed":"a612100cd8a4279091abc1a2ef8fb98a6d01c0a1"},{"fixed":"16e295d2fccab185d1292322e2bee5d46c725c8a"}],"repo":"https://github.com/phoenixframework/phoenix","type":"GIT"}]}],"aliases":["GHSA-6983-jfq8-485w","CVE-2026-56811"],"credits":[{"name":"Peter Ullrich","type":"FINDER"},{"name":"Steffen Deusch","type":"REMEDIATION_DEVELOPER"},{"name":"Jonatan Männchen","type":"ANALYST"},{"name":"José Valim","type":"ANALYST"}],"database_specific":{"capec_ids":["CAPEC-130"],"cpe_ids":["cpe:2.3:a:phoenixframework:phoenix:*:*:*:*:*:*:*:*"],"cwe_ids":["CWE-770"]},"details":"## Summary\n\nAllocation 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).\n\nThis vulnerability is associated with program files lib/phoenix/socket.ex and program routine 'Elixir.Phoenix.Socket':handle\\_in/4.\n\nPhoenix 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.\n\nThe 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.\n\nThis 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.\n\n## Workaround\n\nFront the socket endpoint with a reverse proxy that limits the number and rate of channel-join frames per connection, or disable transports that are not needed (for example remove longpoll: true from the socket declaration where the LongPoll transport is not required). Lowering the BEAM +P maximum process limit does not prevent the exhaustion and can make it easier to trigger.\n\n## Configuration\n\nThe application must mount a Phoenix socket that defines channels and expose it over HTTP so that a client can reach a channel transport (WebSocket or LongPoll) and send phx\\_join messages. The WebSocket transport is enabled by default on a mounted socket, while the LongPoll transport is opt-in. Applications that do not mount a socket with channels are not affected.","id":"EEF-CVE-2026-56811","modified":"2026-07-07T16:14:39.702Z","published":"2026-07-07T15:09:57.581Z","references":[{"type":"ADVISORY","url":"https://github.com/phoenixframework/phoenix/security/advisories/GHSA-6983-jfq8-485w"},{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-56811.html"},{"type":"FIX","url":"https://github.com/phoenixframework/phoenix/commit/c498ba8cf49f6accbbd0c643a5340b58db891218"},{"type":"FIX","url":"https://github.com/phoenixframework/phoenix/commit/d19ca0a8d9f82c130b7ed339b9f033433e2dea5e"},{"type":"FIX","url":"https://github.com/phoenixframework/phoenix/commit/a612100cd8a4279091abc1a2ef8fb98a6d01c0a1"},{"type":"FIX","url":"https://github.com/phoenixframework/phoenix/commit/16e295d2fccab185d1292322e2bee5d46c725c8a"},{"type":"PACKAGE","url":"https://hex.pm/packages/phoenix"}],"related":[],"schema_version":"1.7.3","severity":[{"score":"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","type":"CVSS_V4"}],"summary":"Phoenix transports do not limit channel joins per connection, enabling process-exhaustion denial of service","upstream":[]}