CVE-2026-128361
Unsanitized presence key crashes Presence tracker
Check your servers for CVE-2026-128361
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-128361 affects phoenix, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
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
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Attack requirements
- present: an attack works only when the target is in a certain state or configuration
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Impact on the vulnerable system
- confidentiality none, integrity none, availability high: what an attacker can read, change or stop in the vulnerable component
- Impact on other systems
- confidentiality none, integrity none, availability none: what an attacker can read, change or stop beyond it
Exploitation
EPSS 0.82%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 58.2% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 23 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-20 Improper Input Validation
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
phoenix
package
phoenix |
affected from 1.2.0, before 1.5.16 affected from 1.6.0-rc.0, before 1.6.18 affected from 1.7.0-rc.0, before 1.7.25 affected from 1.8.0-rc.0, before 1.8.17
Other versions: unaffected
|
|
phoenix
package
phoenixframework/phoenix |
affected 44e7618370629df93711cd6169789fd0d8f3678e and later (unaffected from 39c1c6bfd0c817f1223c121f61c60a25f66b76cb, unaffected from 6609595fb3e37f545c4ac636a369f14b0084bc3d, unaffected from 81bc0278c7a4e6204f7e2e0a3b3200e9f1ee5a4b, unaffected from edb702804aeab3a29543668a8be8ea61291c4b75)
Other versions: unaffected
|
Is my server affected?
Find the installed version of phoenix and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i phoenix
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-128361 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-128361RHEL, Rocky, Alma, Fedora
rpm -q phoenix
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-128361Alpine
apk list --installed | grep -i phoenixWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-128361
trivy image --scanners vuln IMAGE | grep CVE-2026-128361
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- Unsanitized presence key crashes Presence tracker github.com · vendor advisory, related
Patches and release notes
- Fix commit 39c1c6b in phoenixframework/phoenix github.com · patch
- Fix commit 6609595 in phoenixframework/phoenix github.com · patch
- Fix commit 81bc027 in phoenixframework/phoenix github.com · patch
- Fix commit edb7028 in phoenixframework/phoenix github.com · patch
Other references
- EEF CNA record for CVE-2026-128361 cna.erlef.org · related
- OSV record EEF-CVE-2026-128361 osv.dev · related
- Introducing commit 44e7618 in phoenixframework/phoenix github.com · related
Source: the record CVE-2026-128361 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse