CVE-2026-56811
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedAllocation 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThe Phoenix.Socket module lacks limits on channel joins per transport connection, allowing an attacker to flood a single WebSocket or LongPoll connection with phx_join messages that spawn unbounded channel processes until the BEAM VM's process table is exhausted, causing node-wide denial of service.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 1.2.0, < 1.5.15>= 1.6.0, < 1.6.17>= 1.7.0, < 1.7.24>= 1.8.0, < 1.8.9CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify installed Phoenix versionCheck your mix.exs file or the installed deps for the phoenix package versionAffected if The version falls within any of these ranges: >= 1.2.0 and < 1.5.15, >= 1.6.0 and < 1.6.17, >= 1.7.0 and < 1.7.24, or >= 1.8.0 and < 1.8.9
-
Determine if Phoenix Channels are in useSearch your codebase for Phoenix.Socket definitions and endpoint socket mounts, for example: socket "/socket", MyAppWeb.UserSocketAffected if A UserSocket or other Phoenix.Socket module is defined and mounted to an endpoint
-
Verify transport configuration for socket handlerInspect your socket module (e.g., user_socket.ex) for transport configuration. Look for transports defined via transport :websocket or transport :longpollAffected if WebSocket or LongPoll transports are configured for the socket module
-
Check for max_channels_per_transport limitInspect your socket module's transport configuration for the :max_channels_per_transport option. Search for lines like transport :websocket, Phoenix.Socket.Transport.WebSocket, [max_channels_per_transport: N]Affected if The :max_channels_per_transport option is NOT present or not set in the transport configuration (on an affected version, this means unlimited channel joins are allowed)
You are affected if your Phoenix version is in the vulnerable range AND you have a socket module with WebSocket or LongPoll transports enabled AND :max_channels_per_transport is not configured.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped1.5.151.6.171.7.24
Upgrade Phoenix to version 1.5.15, 1.6.17, 1.7.24, or 1.8.9 or later, which introduces the :max_channels_per_transport option (default 100) to cap channel processes per connection.
Upgrade to the latest patch release in your major version branch: 1.5.15+, 1.6.17+, 1.7.24+, or 1.8.9+ (ideally latest stable 1.8.x)
- 1. Identify your current Phoenix version by checking the phoenix version in your mix.exs file (look for defp phoenix_version, or the phoenix dependency)
- 2. For Phoenix >= 1.2.0 and < 1.5.15: Upgrade to version 1.5.15 or later in the 1.5.x series
- 3. For Phoenix >= 1.6.0 and < 1.6.17: Upgrade to version 1.6.17 or later in the 1.6.x series
- 4. For Phoenix >= 1.7.0 and < 1.7.24: Upgrade to version 1.7.24 or later in the 1.7.x series
- 5. For Phoenix >= 1.8.0 and < 1.8.9: Upgrade to version 1.8.9 or later in the 1.8.x series
- 6. Update your mix.exs file: change the phoenix dependency to your target version (e.g., "~> 1.8.9")
- 7. Run `mix deps.get` to fetch the updated Phoenix dependency
- 8. Run your test suite to verify the upgrade does not break existing functionality
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,328.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-56811 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-56811 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data