Unsanitized presence key crashes Presence tracker
CVE-2026-128361Published 21 Nov 2026, 11:09 UTC
Real-world risk
1.5/ 10Low
Routine
If the vulnerable configuration applies to you: 3.4
PreliminaryFrom the CVSS vector only · confidence low
CVSS
8.2
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from EEF)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| phoenixNiche | >= 1.2.0, < 1.5.16; >= 1.6.0-rc.0, < 1.6.18; >= 1.7.0-rc.0, < 1.7.25; >= 1.8.0-rc.0, < 1.8.17 | 1.5.16, 1.6.18, 1.7.25, 1.8.17 |
What to do
Update to a fixed version: 1.5.16, 1.6.18, 1.7.25, 1.8.17.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Denial of serviceCrash or resource exhaustion only | From the CVSS vector | 0.40 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.8% chance of exploitation in 30 days (percentile 58), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.450
- Threat T1: Nothing known0.850
- 10 × impact 0.4 × prerequisites 0.45 × threat 0.851.530
- Rounded to one decimal between 0.1 and 101.5
Exploitation and evidence timeline
- 21 Nov 2026 Published
- 3 Dec 2026 Risk 1.5 (cvss fallback)
Weakness
CWE-20
References
- https://github.com/phoenixframework/phoenix/security/advisories/GHSA-pvfx-rx4x-phrrrelated, vendor-advisory
- https://cna.erlef.org/cves/CVE-2026-128361.htmlrelated
- https://osv.dev/vulnerability/EEF-CVE-2026-128361related
- https://github.com/phoenixframework/phoenix/commit/44e7618370629df93711cd6169789fd0d8f3678erelated
- https://github.com/phoenixframework/phoenix/commit/39c1c6bfd0c817f1223c121f61c60a25f66b76cbpatch
- https://github.com/phoenixframework/phoenix/commit/6609595fb3e37f545c4ac636a369f14b0084bc3dpatch
- https://github.com/phoenixframework/phoenix/commit/81bc0278c7a4e6204f7e2e0a3b3200e9f1ee5a4bpatch
- https://github.com/phoenixframework/phoenix/commit/edb702804aeab3a29543668a8be8ea61291c4b75patch
- CVE-2026-128361 on CVE.org