Security mailing lists by PureSourceCode

CVE-2026-128361

HIGH 8.2CVSS 4.0

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.

Published
21 Nov 2026
Last modified
25 Nov 2026
Assigned by
6b3ad84c-e1a6-4bf7-a703-f496b71e49db
NVD status
Deferred
Weakness
CWE-20
Also known as
EEF-CVE-2026-128361GHSA-pvfx-rx4x-phrr
Sources
NVDJSONCVE ListJSONOSV EEF-CVE-2026-128361JSON

Scores

SourceScored byVersionScoreVector / decision
NVD 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Secondary) CVSS 4.0 HIGH 8.2 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
CVE List EEF CVSS 4.0 HIGH 8.2 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
CVE List CISA-ADP SSVC Exploitation: none; Automatable: no; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List https://repo.hex.pm phoenix
cpe:2.3:a: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 1.5.16, 1.6.18, 1.7.25, 1.8.17
CVE List https://github.com phoenixframework/phoenix
cpe:2.3:a:phoenixframework:phoenix:*:*:*:*:*:*:*:*
>= 44e7618370629df93711cd6169789fd0d8f3678e
OSV Hex 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 1.5.16, 1.6.18, 1.7.25, 1.8.17

References

History

  • 25 Nov 2026 20:36 UTC · CVE List: first stored (published 21 Nov 2026)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 21 Nov 2026)
  • 25 Nov 2026 20:11 UTC · NVD: first stored (published 21 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.