Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconJoin presence-enabled channel
-
DeliverySubmit join payload with non-string (map) presence key
-
Exploittrack/3,4 stores unsanitized key
-
Installgroup/1 raises on to_string during list/diff
-
C2Tracker shard terminates, killing tracked channels/LiveViews
-
ExecuteRepeat joins exhaust restart intensity
-
ImpactApplication supervisor down (full DoS)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | Exploitable only when the application uses Phoenix.Presence and passes a client-controlled value as the presence key to Presence.track/2 or track/3 (for example, a key taken directly from a channel join payload), or when its fetch/2 callback can raise on an unexpected key; the attacker's sole prerequisite is the ability to join the relevant channel/topic. The AT:P metric reflects exactly this app-configuration dependency. LIMITING FACTORS: applications that coerce or validate presence keys to strings before tracking, that derive keys server-side (e.g. from the authenticated user id), or that do not use Phoenix.Presence are not affected; severity escalates to full-application DoS specifically on version 1.7.0 and later, where the diff runs in a Task.Supervisor.async task whose failure has no handle_info/2 clause. |
| Impact | This is a credible, actionable availability risk rather than a paper-high CVSS. The CVSS 4.0 vector (8.2, AV:N/AC:L/AT:P/PR:N/UI:N) scores availability impact VA:H with no confidentiality or integrity impact, and the AT:P ('attack requirements present') flag is the key signal: exploitation is not universal against every Phoenix install but is gated on the application passing client-controlled presence keys to track/3,4 or using a fetch/2 that can raise. No EPSS score is provided in the input, and the CVE is not listed in CISA KEV, so there is no evidence of active or widespread exploitation. The vuln.today decision label is 'this_week', which with a vendor patch available points to prompt but non-emergency remediation. The signals are consistent rather than conflicting: a network-reachable, unauthenticated, low-complexity DoS whose real-world reach is bounded by whether a given app actually exposes client-controlled presence keys. The standout concern is the escalation path - a single tracked bad key crashes the tracker shard (from 1.7.0 via an unhandled Task failure), and repeated joins exhaust restart intensity to take down the whole application supervisor - turning a localized crash into a full-application outage for affected deployments. |
| Exploit ScenarioDerived | An attacker who can join a Phoenix channel on a presence-enabled topic sends a join payload whose presence key is a JSON object (e.g. a map as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 21, 2026
Remote denial of service in the Phoenix Framework (Elixir) affects applications using Phoenix.Presence that pass a client-controlled value as the presence key: an unauthenticated attacker who can join a channel submits a non-string key - such as a JSON object in the join payload - and crashes presence handling for that topic. The key is only coerced with to_string/1 later inside Phoenix.Presence.group/1, which raises Protocol.UndefinedError on a map, so every process that lists presences on the topic dies and presence diffs are lost; on 1.7.0 and later the diff runs in a Task.Supervisor.async task linked to the tracker shard with no matching handle_info/2 clause, so the shard terminates and takes down all channels and LiveViews tracked on it, with repeated joins exhausting restart intensity and taking down the application supervisor. Vendor fixes are released in 1.5.16, 1.6.18, 1.7.25 and 1.8.17; no public exploit code was identified at time of analysis, and exposure depends on the application supplying unsanitized keys or a fetch/2 that can raise on them.
RemediationAI
Upgrade phoenix to the fixed release for your branch: 1.5.16 (for 1.2.0 through 1.5.x), 1.6.18, 1.7.25, or 1.8.17 - the vendor advisory GHSA-pvfx-rx4x-phrr lists these exact versions, and the corresponding fixes are in commits 39c1c6bfd0c817f1223c121f61c60a25f66b76cb, 6609595fb3e37f545c4ac636a369f14b0084bc3d, 81bc0278c7a4e6204f7e2e0a3b3200e9f1ee5a4b and edb702804aeab3a29543668a8be8ea61291c4b75. If upgrading is not immediately possible, the vendor's stated alternative is to validate the arguments passed to Presence.track/2 and Presence.track/3, forcing the presence key to be a string before it is tracked - this removes the crash vector at the cost of rejecting or coercing client keys the application previously accepted, and any display or lookup logic keyed on the original term must be adjusted; additionally ensure fetch/2 tolerates unexpected keys rather than raising, since a raising callback reproduces the same failure. Applications that derive presence keys server-side (for example from the authenticated user id) or do not use Phoenix.Presence are not affected and need no change. Given the tracker-shard and supervisor-wide blast radius on 1.7.0 and later, treat this as a this-week patching item.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Phoenix.Presence is the Elixir/Phoenix distributed presence behaviour built on a CRDT-style tracker: clients call track/2 or track/3 with a topic, a key and metadata, and the module accumulates entries per key before broadcasting diffs to subscribing channel and LiveView processes. The root cause is CWE-20 improper input validation - track/3 accepts any term as the key, but the key is only converted with to_string/1 downstream in Phoenix.Presence.group/1, which raises Protocol.UndefinedError when the term is a map (the String.Chars protocol is not implemented for maps). Because group/1 runs whenever presences are listed and whenever each presence diff is broadcast, a single tracked non-string key poisons the whole topic; the application's own fetch/2 callback can likewise raise on an unexpected key. The blast radius is version-dependent: from 1.7.0 the diff executes in a Task.Supervisor.async task linked to the tracker shard and Phoenix.Presence.handle_info/2 has no clause for its failure, so the shard process terminates, killing every channel and LiveView process tracked on that shard and erasing presence state for all of its topics, with repeated joins eventually exhausting supervisor restart intensity. Two CPE entries for phoenixframework:phoenix cover the affected release lines; the upstream fix moves the to_string/1 coercion to the point of insertion in track (Map.update with to_string(key)), with a regression test asserting that list/1 returns keys as strings.
Know when Phoenix gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Network-reachable and unauthenticated (PR:N), but AC:H because exploitation depends on the app passing unsanitized client keys; availability-only impact (A:H), no confidentiality or integrity effect.
Primary rating from Vendor (EEF).
CVSS VectorVendor: EEF
DescriptionCVE.org
Improper Input Validation vulnerability in phoenixframework phoenix (Phoenix.Presence) allows an attacker who can join a channel to cause a denial of service via a non-string presence key.
track/3,4 accepts any term as the presence key, such as a JSON object taken from a join payload. The key is converted with to_string/1 only later, in Phoenix.Presence.group/1, which raises Protocol.UndefinedError on a map. group/1 runs whenever presences are listed and when each presence diff is broadcast, together with the application's fetch/2, which can likewise raise on an unexpected key. Once such a key is tracked, every process that lists presences on the topic crashes, typically each channel that joins it, and presence diffs for the topic are lost.
From 1.7.0 the diff runs in a Task.Supervisor.async task linked to the tracker shard, and Phoenix.Presence.handle_info/2 has no clause for its failure. The shard then terminates, taking down every channel and LiveView process tracked on it and erasing presence state for all its topics. Repeated joins exhaust the restart intensity and take down the application supervisor.
This issue affects phoenix: from 1.2.0 before 1.5.16, from 1.6.0-rc.0 before 1.6.18, from 1.7.0-rc.0 before 1.7.25, and from 1.8.0-rc.0 before 1.8.17.
Technical POC Analysis
CWE-20 (Improper Input Validation) in lib/phoenix/presence.ex.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
The Phoenix Framework for Elixir has a HIGH severity vulnerability (CVE-2026-128361) that allows unauthenticated attackers to crash presence-enabled applications by submitting a non-string presence key. This can lead to service outages affecting all users relying on real-time features, and repeated attacks can take down the entire application supervisor, causing widespread disruption. Organizations using Phoenix.Presence in customer-facing or critical internal applications should prioritize patching.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Format string injection in the arize-phoenix Python package (versions 13.0.0 through 15.6.x) lets remote attackers read
Unauthenticated remote denial-of-service in Phoenix Framework 1.7.0-1.7.21 and 1.8.0-1.8.5 allows attackers to crash Eli
The Phoenix Framework versions 1.0.0 through 1.0.4, 1.1.0 through 1.1.6, 1.2.0, 1.2.2 and 1.3.0-rc.0 are vulnerable to u
Phoenix Framework's Presence JavaScript client allows any user with ordinary channel access to permanently break presenc
In Phoenix SCT WinFlash 1.1.12.0 through 1.5.74.0, the included drivers could be used by a malicious Windows application
Denial of service in the Phoenix Framework (Elixir) affects any endpoint mounting a Phoenix.Socket with a reachable WebS
Denial of service in Phoenix Framework (1.5.7 before 1.5.16, 1.6.0-rc.0 before 1.6.18, 1.7.0-rc.0 before 1.7.25, and 1.8
socket/transport.ex in Phoenix before 1.6.14 mishandles check_origin wildcarding. Rated high severity (CVSS 7.5), this v
Session fixation in the Elixir/Phoenix authentication library ash_authentication (0.2.0 before 4.15.0, and 5.0.0-rc.0 be
Filesystem path disclosure in Tidewave Phoenix 0.8.0 through 0.9.1 lets a hostile web page read the framework's configur
EUVD-2026-132106
NVD
CVE.org
EPSS
GitHub
Exploit-DB