CVE-2026-128361
Unsanitized presence key crashes Presence tracker
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.
Fixes and workarounds
Workaround
Validate every presence key before passing it to track/3,4, untrack/2,3 or update/3,4, so that only strings reach the tracker. For a key taken from client input, reject a join whose value is not a binary, or convert it explicitly: def join("room:" <> _, %{"name" => name}, socket) when is_binary(name) do send(self(), {:after_join, name}) {:ok, socket} end A fetch/2 callback must also not raise on any tracked key.
Source: CNA: EEFFix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: CNA: EEFFix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: CNA: EEFFix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: CNA: EEFFix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: CNA: EEFFix
phoenix (erlang): GitHub reports patched versions 1.5.16. Check the advisory for the affected release branch.
Source: GitHub GHSA-pvfx-rx4x-phrrFix
phoenix (erlang): GitHub reports patched versions 1.6.18. Check the advisory for the affected release branch.
Source: GitHub GHSA-pvfx-rx4x-phrrFix
phoenix (erlang): GitHub reports patched versions 1.7.25. Check the advisory for the affected release branch.
Source: GitHub GHSA-pvfx-rx4x-phrrFix
phoenix (erlang): GitHub reports patched versions 1.8.17. Check the advisory for the affected release branch.
Source: GitHub GHSA-pvfx-rx4x-phrrAffected products and versions
| Product | Versions | Authority |
|---|---|---|
| phoenix phoenixframework phoenix
hex |
≥ 1.2.0; < 1.5.16 (affected, semver) ≥ 1.6.0-rc.0; < 1.6.18 (affected, semver) ≥ 1.7.0-rc.0; < 1.7.25 (affected, semver) ≥ 1.8.0-rc.0; < 1.8.17 (affected, semver) Other versions: unaffected |
CNA: EEF |
| phoenix phoenixframework phoenixframework/phoenix
github |
≥ 44e7618370629df93711cd6169789fd0d8f3678e; < * (affected, git); unaffected at 39c1c6bfd0c817f1223c121f61c60a25f66b76cb; unaffected at 6609595fb3e37f545c4ac636a369f14b0084bc3d; unaffected at 81bc0278c7a4e6204f7e2e0a3b3200e9f1ee5a4b; unaffected at edb702804aeab3a29543668a8be8ea61291c4b75
Other versions: unaffected |
CNA: EEF |
phoenixphoenix
erlang |
>= 1.2.0, < 1.5.16 (affected, GitHub advisory range) | GitHub GHSA-pvfx-rx4x-phrr |
phoenixphoenix
erlang |
>= 1.6.0-rc.0, < 1.6.18 (affected, GitHub advisory range) | GitHub GHSA-pvfx-rx4x-phrr |
phoenixphoenix
erlang |
>= 1.7.0-rc.0, < 1.7.25 (affected, GitHub advisory range) | GitHub GHSA-pvfx-rx4x-phrr |
phoenixphoenix
erlang |
>= 1.8.0-rc.0, < 1.8.17 (affected, GitHub advisory range) | GitHub GHSA-pvfx-rx4x-phrr |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 4.0 / 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 | CNA: EEF |
| 4.0 / 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | NVD: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://github.com/phoenixframework/phoenix/security/advisories/GHSA-pvfx-rx4x-phrrCNA: EEF · vendor-advisory, related
- https://cna.erlef.org/cves/CVE-2026-128361.htmlCNA: EEF · related
- https://osv.dev/vulnerability/EEF-CVE-2026-128361CNA: EEF · related
- https://github.com/phoenixframework/phoenix/commit/44e7618370629df93711cd6169789fd0d8f3678eCNA: EEF · related
- https://github.com/phoenixframework/phoenix/commit/39c1c6bfd0c817f1223c121f61c60a25f66b76cbCNA: EEF · patch
- https://github.com/phoenixframework/phoenix/commit/6609595fb3e37f545c4ac636a369f14b0084bc3dCNA: EEF · patch
- https://github.com/phoenixframework/phoenix/commit/81bc0278c7a4e6204f7e2e0a3b3200e9f1ee5a4bCNA: EEF · patch
- https://github.com/phoenixframework/phoenix/commit/edb702804aeab3a29543668a8be8ea61291c4b75CNA: EEF · patch
- https://cna.erlef.org/cves/CVE-2026-128361.html6b3ad84c-e1a6-4bf7-a703-f496b71e49db
- https://github.com/phoenixframework/phoenix/commit/39c1c6bfd0c817f1223c121f61c60a25f66b76cb6b3ad84c-e1a6-4bf7-a703-f496b71e49db
- https://github.com/phoenixframework/phoenix/commit/44e7618370629df93711cd6169789fd0d8f3678e6b3ad84c-e1a6-4bf7-a703-f496b71e49db
- https://github.com/phoenixframework/phoenix/commit/6609595fb3e37f545c4ac636a369f14b0084bc3d6b3ad84c-e1a6-4bf7-a703-f496b71e49db
- https://github.com/phoenixframework/phoenix/commit/81bc0278c7a4e6204f7e2e0a3b3200e9f1ee5a4b6b3ad84c-e1a6-4bf7-a703-f496b71e49db
- https://github.com/phoenixframework/phoenix/commit/edb702804aeab3a29543668a8be8ea61291c4b756b3ad84c-e1a6-4bf7-a703-f496b71e49db
- https://github.com/phoenixframework/phoenix/security/advisories/GHSA-pvfx-rx4x-phrr6b3ad84c-e1a6-4bf7-a703-f496b71e49db
- https://osv.dev/vulnerability/EEF-CVE-2026-1283616b3ad84c-e1a6-4bf7-a703-f496b71e49db
- https://github.com/phoenixframework/phoenix/security/advisories/GHSA-pvfx-rx4x-phrrGitHub Security Advisories · advisory
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.