{"affected":[{"defaultStatus":"unaffected","ecosystem":"hex","packageName":"phoenix","product":"phoenix","source":"CNA: EEF","vendor":"phoenixframework","versions":[{"lessThan":"1.5.16","status":"affected","version":"1.2.0","versionType":"semver"},{"lessThan":"1.6.18","status":"affected","version":"1.6.0-rc.0","versionType":"semver"},{"lessThan":"1.7.25","status":"affected","version":"1.7.0-rc.0","versionType":"semver"},{"lessThan":"1.8.17","status":"affected","version":"1.8.0-rc.0","versionType":"semver"}]},{"defaultStatus":"unaffected","ecosystem":"github","packageName":"phoenixframework/phoenix","product":"phoenix","source":"CNA: EEF","vendor":"phoenixframework","versions":[{"changes":[{"at":"39c1c6bfd0c817f1223c121f61c60a25f66b76cb","status":"unaffected"},{"at":"6609595fb3e37f545c4ac636a369f14b0084bc3d","status":"unaffected"},{"at":"81bc0278c7a4e6204f7e2e0a3b3200e9f1ee5a4b","status":"unaffected"},{"at":"edb702804aeab3a29543668a8be8ea61291c4b75","status":"unaffected"}],"lessThan":"*","status":"affected","version":"44e7618370629df93711cd6169789fd0d8f3678e","versionType":"git"}]},{"ecosystem":"erlang","packageName":"phoenix","product":"phoenix","source":"GitHub GHSA-pvfx-rx4x-phrr","vendor":"","versions":[{"status":"affected","version":">= 1.2.0, < 1.5.16","versionType":"GitHub advisory range"}]},{"ecosystem":"erlang","packageName":"phoenix","product":"phoenix","source":"GitHub GHSA-pvfx-rx4x-phrr","vendor":"","versions":[{"status":"affected","version":">= 1.6.0-rc.0, < 1.6.18","versionType":"GitHub advisory range"}]},{"ecosystem":"erlang","packageName":"phoenix","product":"phoenix","source":"GitHub GHSA-pvfx-rx4x-phrr","vendor":"","versions":[{"status":"affected","version":">= 1.7.0-rc.0, < 1.7.25","versionType":"GitHub advisory range"}]},{"ecosystem":"erlang","packageName":"phoenix","product":"phoenix","source":"GitHub GHSA-pvfx-rx4x-phrr","vendor":"","versions":[{"status":"affected","version":">= 1.8.0-rc.0, < 1.8.17","versionType":"GitHub advisory range"}]}],"cveId":"CVE-2026-128361","cwes":["CWE-20"],"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.\n\ntrack/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.\n\nFrom 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.\n\nThis 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.","epss":{"date":"2026-11-23","percentile":0.49842,"score":0.00604},"exploits":[],"kev":null,"metrics":[{"score":8.2,"severity":"high","source":"CNA: EEF","vector":"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","version":"4.0"},{"score":8.2,"severity":"high","source":"NVD: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db","vector":"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","version":"4.0"}],"modifiedAt":1795465645217,"publishedAt":1795259391800,"references":[{"source":"CNA: EEF","tags":["vendor-advisory","related"],"url":"https://github.com/phoenixframework/phoenix/security/advisories/GHSA-pvfx-rx4x-phrr"},{"source":"CNA: EEF","tags":["related"],"url":"https://cna.erlef.org/cves/CVE-2026-128361.html"},{"source":"CNA: EEF","tags":["related"],"url":"https://osv.dev/vulnerability/EEF-CVE-2026-128361"},{"source":"CNA: EEF","tags":["related"],"url":"https://github.com/phoenixframework/phoenix/commit/44e7618370629df93711cd6169789fd0d8f3678e"},{"source":"CNA: EEF","tags":["patch"],"url":"https://github.com/phoenixframework/phoenix/commit/39c1c6bfd0c817f1223c121f61c60a25f66b76cb"},{"source":"CNA: EEF","tags":["patch"],"url":"https://github.com/phoenixframework/phoenix/commit/6609595fb3e37f545c4ac636a369f14b0084bc3d"},{"source":"CNA: EEF","tags":["patch"],"url":"https://github.com/phoenixframework/phoenix/commit/81bc0278c7a4e6204f7e2e0a3b3200e9f1ee5a4b"},{"source":"CNA: EEF","tags":["patch"],"url":"https://github.com/phoenixframework/phoenix/commit/edb702804aeab3a29543668a8be8ea61291c4b75"},{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"url":"https://cna.erlef.org/cves/CVE-2026-128361.html"},{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"url":"https://github.com/phoenixframework/phoenix/commit/39c1c6bfd0c817f1223c121f61c60a25f66b76cb"},{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"url":"https://github.com/phoenixframework/phoenix/commit/44e7618370629df93711cd6169789fd0d8f3678e"},{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"url":"https://github.com/phoenixframework/phoenix/commit/6609595fb3e37f545c4ac636a369f14b0084bc3d"},{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"url":"https://github.com/phoenixframework/phoenix/commit/81bc0278c7a4e6204f7e2e0a3b3200e9f1ee5a4b"},{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"url":"https://github.com/phoenixframework/phoenix/commit/edb702804aeab3a29543668a8be8ea61291c4b75"},{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"url":"https://github.com/phoenixframework/phoenix/security/advisories/GHSA-pvfx-rx4x-phrr"},{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"url":"https://osv.dev/vulnerability/EEF-CVE-2026-128361"},{"source":"GitHub Security Advisories","tags":["advisory"],"url":"https://github.com/phoenixframework/phoenix/security/advisories/GHSA-pvfx-rx4x-phrr"}],"remediation":[{"kind":"workaround","source":"CNA: EEF","text":"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:\n\ndef join(\"room:\" <> _, %{\"name\" => name}, socket) when is_binary(name) do\n  send(self(), {:after_join, name})\n  {:ok, socket}\nend\n\nA fetch/2 callback must also not raise on any tracked key."},{"kind":"fix","source":"CNA: EEF","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/phoenixframework/phoenix/commit/39c1c6bfd0c817f1223c121f61c60a25f66b76cb"},{"kind":"fix","source":"CNA: EEF","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/phoenixframework/phoenix/commit/6609595fb3e37f545c4ac636a369f14b0084bc3d"},{"kind":"fix","source":"CNA: EEF","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/phoenixframework/phoenix/commit/81bc0278c7a4e6204f7e2e0a3b3200e9f1ee5a4b"},{"kind":"fix","source":"CNA: EEF","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/phoenixframework/phoenix/commit/edb702804aeab3a29543668a8be8ea61291c4b75"},{"kind":"fix","source":"GitHub GHSA-pvfx-rx4x-phrr","text":"phoenix (erlang): GitHub reports patched versions 1.5.16. Check the advisory for the affected release branch.","url":"https://github.com/phoenixframework/phoenix/security/advisories/GHSA-pvfx-rx4x-phrr"},{"kind":"fix","source":"GitHub GHSA-pvfx-rx4x-phrr","text":"phoenix (erlang): GitHub reports patched versions 1.6.18. Check the advisory for the affected release branch.","url":"https://github.com/phoenixframework/phoenix/security/advisories/GHSA-pvfx-rx4x-phrr"},{"kind":"fix","source":"GitHub GHSA-pvfx-rx4x-phrr","text":"phoenix (erlang): GitHub reports patched versions 1.7.25. Check the advisory for the affected release branch.","url":"https://github.com/phoenixframework/phoenix/security/advisories/GHSA-pvfx-rx4x-phrr"},{"kind":"fix","source":"GitHub GHSA-pvfx-rx4x-phrr","text":"phoenix (erlang): GitHub reports patched versions 1.8.17. Check the advisory for the affected release branch.","url":"https://github.com/phoenixframework/phoenix/security/advisories/GHSA-pvfx-rx4x-phrr"}],"revision":"72d2bbd4a8ff4cb159722b5a63d6fdb460bea3347fb53ed11b206dfc69e2db9f","sources":[{"modifiedAt":1795465645217,"name":"CNA: EEF","retrievedAt":1795468116205,"url":"https://www.cve.org/CVERecord?id=CVE-2026-128361"},{"modifiedAt":1795259798787,"name":"NVD","retrievedAt":1795263360076,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128361"},{"modifiedAt":1795190583000,"name":"GitHub Security Advisories","retrievedAt":1795469409651,"url":"https://github.com/phoenixframework/phoenix/security/advisories/GHSA-pvfx-rx4x-phrr"},{"modifiedAt":null,"name":"FIRST EPSS","retrievedAt":1795468127732,"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-128361"}],"ssvc":{"assessedAt":1795465633533,"automatable":"no","exploitation":"none","source":"ADP: CISA-ADP","technicalImpact":"partial"},"status":"published","title":"Unsanitized presence key crashes Presence tracker","updatedAt":1795469409651}