CVE-2026-128361
Published:November 21, 2026
Updated:November 23, 2026
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.
Affected Packages
https://github.com/phoenixframework/phoenix.git (GITHUB):
Affected version(s) >=v1.7.0-rc.0 <v1.7.25Fix Suggestion:
Update to version v1.7.25https://github.com/phoenixframework/phoenix.git (GITHUB):
Affected version(s) >=v1.6.0-rc.0 <v1.6.18Fix Suggestion:
Update to version v1.6.18https://github.com/phoenixframework/phoenix.git (GITHUB):
Affected version(s) >=v1.2.0 <v1.5.16Fix Suggestion:
Update to version v1.5.16https://github.com/phoenixframework/phoenix.git (GITHUB):
Affected version(s) >=v1.8.0-rc.0 <v1.8.17Fix Suggestion:
Update to version v1.8.17phoenix (HEX):
Affected version(s) >=1.8.0-rc.0 <1.8.17Fix Suggestion:
Update to version 1.8.17phoenix (HEX):
Affected version(s) >=1.2.0 <1.5.16Fix Suggestion:
Update to version 1.5.16phoenix (HEX):
Affected version(s) >=1.6.0-rc.0 <1.6.18Fix Suggestion:
Update to version 1.6.18phoenix (HEX):
Affected version(s) >=1.7.0-rc.0 <1.7.25Fix Suggestion:
Update to version 1.7.25Related Resources (14)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.2
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
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Improper Input Validation
EPSS
Base Score:
0.60