Skip to content
FlawDB
Sign in

CVE-2026-128361

HIGH 8.2EPSS 43%

Unsanitized presence key crashes Presence tracker

Mitigation

  • Upgrade phoenix to 1.8.17 or later.
  • Vendor 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.

Who should check

  • Anyone running phoenixframework phoenix >= 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
  • Anyone running phoenixframework phoenix >= 44e7618370629df93711cd6169789fd0d8f3678e, < *

Vulnerability facts

Affected
phoenixframework phoenix >= 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; phoenixframework phoenix >= 44e7618370629df93711cd6169789fd0d8f3678e, < *
Fixed in
phoenixframework phoenix 1.5.16, phoenixframework phoenix 1.6.18, phoenixframework phoenix 1.7.25, phoenixframework phoenix 1.8.17
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
8.2 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Attack requirements: Present
  • Privileges required: None
  • User interaction: None
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
EPSS
0.60% chance of exploitation in 30 days (percentile 43, 2026-11-28)
CWE
CWE-20
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
phoenixframework phoenix>= 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—cvelist
phoenixframework phoenix>= 44e7618370629df93711cd6169789fd0d8f3678e, < *—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-128361. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-128361.md
Affected: phoenixframework phoenix >= 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; phoenixframework phoenix >= 44e7618370629df93711cd6169789fd0d8f3678e, < *
Fixed in: phoenixframework phoenix 1.5.16, phoenixframework phoenix 1.6.18, phoenixframework phoenix 1.7.25, phoenixframework phoenix 1.8.17

Steps:
1. Search this machine and project for phoenixframework phoenix: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-128361 being exploited?

There is no confirmed exploitation: CVE-2026-128361 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.60% chance of exploitation in the next 30 days (as of 2026-11-28).

How serious is CVE-2026-128361?

High: CVSS 8.2 (v4.0, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2026-128361?

phoenixframework phoenix >= 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; phoenixframework phoenix >= 44e7618370629df93711cd6169789fd0d8f3678e, < *.

Is there a fix for CVE-2026-128361?

Yes. Fixed in phoenixframework phoenix 1.5.16, phoenixframework phoenix 1.6.18, phoenixframework phoenix 1.7.25, phoenixframework phoenix 1.8.17. Upgrade phoenix to 1.8.17 or later. Vendor 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.

How do I check if I'm affected by CVE-2026-128361?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

See all
Vulnerabilities, newest first
SeverityIdentifier / vulnerabilityTechnologySignalsAge
HIGH 8.2CVE-2026-129344

Client-selected V1 serializer crashes shared broadcast dispatch on binary payloads

phoenixframework
EPSS 50%
MEDIUM 6.0CVE-2026-126334

Joining a LiveView without `"url"` skips its `live_session` `on_mount` hooks

phoenixframework
EPSS 35%
Sponsors