PhoenixApplication · Phoenixframework

CVE-2026-56811

HIGH · 7.5 CVSS v3.1 Published 2026-07-07
Fix available
A fix is available. Upgrade to 1.5.15 / 1.6.17 or later.
See remediation →
84/100
Remediation priority · High
Remotely reachable No privileges Zero-click Patch available

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 · unedited
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.

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 confidence

The 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.

MitigationUpgrade 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.

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
PhoenixApplication
Affected:>= 1.2.0, < 1.5.15>= 1.6.0, < 1.6.17>= 1.7.0, < 1.7.24>= 1.8.0, < 1.8.9

CVSS 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 checks

Work through these to decide whether this CVE applies to you.

  1. Identify installed Phoenix version
    Check your mix.exs file or the installed deps for the phoenix package version
    Affected 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
  2. Determine if Phoenix Channels are in use
    Search your codebase for Phoenix.Socket definitions and endpoint socket mounts, for example: socket "/socket", MyAppWeb.UserSocket
    Affected if A UserSocket or other Phoenix.Socket module is defined and mounted to an endpoint
  3. Verify transport configuration for socket handler
    Inspect your socket module (e.g., user_socket.ex) for transport configuration. Look for transports defined via transport :websocket or transport :longpoll
    Affected if WebSocket or LongPoll transports are configured for the socket module
  4. Check for max_channels_per_transport limit
    Inspect 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.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

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 · scoped
Upgrade available Upgrade to 1.5.15 / 1.6.17 / 1.7.24 or later
Fixed in 1.5.151.6.171.7.24
Vendor patch cna.erlef.org →
Interim mitigation

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.

Recommended fix High confidence

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. 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. 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. 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. 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. 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. 6. Update your mix.exs file: change the phoenix dependency to your target version (e.g., "~> 1.8.9")
  7. 7. Run `mix deps.get` to fetch the updated Phoenix dependency
  8. 8. Run your test suite to verify the upgrade does not break existing functionality
Caveat The :max_channels_per_transport option defaults to 100 channels per transport. Applications joining more than 100 channels from a single WebSocket/LongPoll connection will need to either increase the limit in endpoint config or distribute channels across multiple connections. Review existing channel

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Phoenix Scoped from the published advisory
  • Consultation2.0 h
  • Implementation4.0 h
  • Testing4.0 h
  • Review / QA2.0 h
12.0 hours of engineering $2,080
Get the upgrade done

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 locally
dbcve dependency scanner

Check 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 sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-56811 in production — separate from our analysis above.

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.

What this is

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.

What belongs here
  • 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