# CVE-2026-128361: Unsanitized presence key crashes Presence tracker

- Severity: High 8.2 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.81%, higher than 58% of CVEs (2026-12-01)
- Published: 2026-11-21T11:09:51.800Z
- Modified: 2026-11-25T17:23:04.102Z
- Also known as: EEF-CVE-2026-128361, GHSA-pvfx-rx4x-phrr
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: EEF

## Description

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.

(As written by CVE List.)

## Affected

- 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; from 1.8.0-rc.0 before 1.8.17
- phoenixframework/phoenix: from 44e7618370629df93711cd6169789fd0d8f3678e before *
- phoenix (Hex): 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; from 1.8.0-rc.0 before 1.8.17
- https://github.com/phoenixframework/phoenix: from 44e7618370629df93711cd6169789fd0d8f3678e before 39c1c6bfd0c817f1223c121f61c60a25f66b76cb; before 6609595fb3e37f545c4ac636a369f14b0084bc3d; before 81bc0278c7a4e6204f7e2e0a3b3200e9f1ee5a4b; before edb702804aeab3a29543668a8be8ea61291c4b75

## Every score

- EEF: CVSS: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`
- Erlang Ecosystem Foundation: CVSS:4.0 `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`

## References

- <https://github.com/phoenixframework/phoenix/security/advisories/GHSA-pvfx-rx4x-phrr> (advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-128361.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-128361> (related)
- <https://github.com/phoenixframework/phoenix/commit/44e7618370629df93711cd6169789fd0d8f3678e> (related, web)
- <https://github.com/phoenixframework/phoenix/commit/39c1c6bfd0c817f1223c121f61c60a25f66b76cb> (fix, patch)
- <https://github.com/phoenixframework/phoenix/commit/6609595fb3e37f545c4ac636a369f14b0084bc3d> (fix, patch)
- <https://github.com/phoenixframework/phoenix/commit/81bc0278c7a4e6204f7e2e0a3b3200e9f1ee5a4b> (fix, patch)
- <https://github.com/phoenixframework/phoenix/commit/edb702804aeab3a29543668a8be8ea61291c4b75> (fix, patch)
- <https://hex.pm/packages/phoenix> (package)

## Sources

- CVE List: [CVE-2026-128361](https://www.cve.org/CVERecord?id=CVE-2026-128361), CVE Terms of Use, modified 2026-11-24
- Erlang Ecosystem Foundation: [EEF-CVE-2026-128361](https://osv.dev/vulnerability/EEF-CVE-2026-128361), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-128361](https://nvd.nist.gov/vuln/detail/CVE-2026-128361), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-128361 · Whole record: https://cve.day/CVE-2026-128361.json · Rebuilt by cve.day 2026-11-25T22:59:52.511Z
