Skip to main content

Phoenix Framework EUVDEUVD-2026-132106

| CVE-2026-128361 HIGH
Improper Input Validation (CWE-20)
2026-11-21 EEF
8.2
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Join presence-enabled channel
  2. Delivery
    Submit join payload with non-string (map) presence key
  3. Exploit
    track/3,4 stores unsanitized key
  4. Install
    group/1 raises on to_string during list/diff
  5. C2
    Tracker shard terminates, killing tracked channels/LiveViews
  6. Execute
    Repeat joins exhaust restart intensity
  7. Impact
    Application 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 name) instead of a string; the app tracks it via Presence.track. When presences are listed or the presence diff is broadcast, Phoenix.Presence.group/1 calls to_string/1 on the map and raises Protocol.UndefinedError, crashing every process that lists presences on the topic and, from 1.7.0 onward, terminating the tracker shard; repeated joins exhaust restart intensity and bring down the application supervisor. No public exploit identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

phoenix 1.6.0-rc.0 <1.6.18
phoenix 1.7.0-rc.0 <1.7.25
phoenix 44e7618370629df93711cd6169789fd0d8f3678e <*
phoenix 1.8.0-rc.0 <1.8.17
phoenix 1.2.0 <1.5.16

Affected Packages

euvd phoenix fix: 1.5.16, 1.6.18, 1.7.25, 1.8.17

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

Vendor (EEF) PRIMARY 8.2 HIGH
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
vuln.today AI 5.9 MEDIUM

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (EEF).

CVSS VectorVendor: EEF

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.6%
Top 50% exploitable
Prevalence
Medium
popular Elixir web framework, but smaller ecosystem than mainstream stacks
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +41
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2026-53998 CRITICAL POC
10.0 Nov 16

Format string injection in the arize-phoenix Python package (versions 13.0.0 through 15.6.x) lets remote attackers read

CVE-2026-32689 HIGH POC
8.7 May 05

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

CVE-2017-1000163 MEDIUM POC
6.1 Nov 17

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

CVE-2026-56812 MEDIUM POC
6.3 Jul 07

Phoenix Framework's Presence JavaScript client allows any user with ordinary channel access to permanently break presenc

CVE-2019-18279 HIGH
8.8 Nov 13

In Phoenix SCT WinFlash 1.1.12.0 through 1.5.74.0, the included drivers could be used by a malicious Windows application

CVE-2026-56811 HIGH
8.7 Jul 07

Denial of service in the Phoenix Framework (Elixir) affects any endpoint mounting a Phoenix.Socket with a reachable WebS

CVE-2026-129344 HIGH
8.2 Nov 21

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

CVE-2022-42975 HIGH
7.5 Oct 17

socket/transport.ex in Phoenix before 1.6.14 mishandles check_origin wildcarding. Rated high severity (CVSS 7.5), this v

CVE-2026-86688 HIGH
7.4 Sep 17

Session fixation in the Elixir/Phoenix authentication library ash_authentication (0.2.0 before 4.15.0, and 5.0.0-rc.0 be

CVE-2026-109823 LOW
2.3 Oct 27

Filesystem path disclosure in Tidewave Phoenix 0.8.0 through 0.9.1 lets a hostile web page read the framework's configur

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy