CVE-2026-128361phoenixframework phoenix Improper Input Validation
NVD
Vulnerability Summary
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.
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.
CVSS v4.0 Base Metrics — Score 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:NAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsPresent
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)None
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Affected & Patched Versions
- phoenixframework phoenix >= 1.2.0 and < 1.5.16
- phoenixframework phoenix >= 1.6.0-rc.0 and < 1.6.18
- phoenixframework phoenix >= 1.7.0-rc.0 and < 1.7.25
- phoenixframework phoenix >= 1.8.0-rc.0 and < 1.8.17
- phoenixframework phoenix >= 44e7618370629df93711cd6169789fd0d8f3678e and < *
- phoenixframework phoenix 1.5.16
- phoenixframework phoenix 1.6.18
- phoenixframework phoenix 1.7.25
- phoenixframework phoenix 1.8.17
- phoenixframework phoenix *
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run phoenixframework phoenix and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 21, 2026Published
- Nov 21, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new phoenixframework phoenix CVEsYou are reading CVE-2026-128361. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsMore phoenixframework phoenix CVEs
External References
- Vendor Advisoryhttps://github.com/phoenixframework/phoenix/security/advisories/GHSA-pvfx-rx4x-phrr
- Referencehttps://cna.erlef.org/cves/CVE-2026-128361.html
- Referencehttps://osv.dev/vulnerability/EEF-CVE-2026-128361
- Patchhttps://github.com/phoenixframework/phoenix/commit/44e7618370629df93711cd6169789fd0d8f3678e
- Patchhttps://github.com/phoenixframework/phoenix/commit/39c1c6bfd0c817f1223c121f61c60a25f66b76cb
- Patchhttps://github.com/phoenixframework/phoenix/commit/6609595fb3e37f545c4ac636a369f14b0084bc3d
- Patchhttps://github.com/phoenixframework/phoenix/commit/81bc0278c7a4e6204f7e2e0a3b3200e9f1ee5a4b
- Patchhttps://github.com/phoenixframework/phoenix/commit/edb702804aeab3a29543668a8be8ea61291c4b75
Data last checked: Nov 23, 2026 00:32 UTC