CVE-2026-56812
published medium CVSS 4.0 · 6.3Phoenix JavaScript presence client crashes on presence keys colliding with Object.prototype members in Presence.syncState/syncDiff
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| phoenixframework | — | phoenix1.2.0-rc.0 to < 1.5.15 · 1.6.0-rc.0 to < 1.6.17 · 1.7.0-rc.0 to < 1.7.24 · 1.8.0-rc.0 to < 1.8.9 · Other versions: unaffected | Affected | Not stated | EEF |
| phoenixframework | — | phoenix1.2.0-rc.0 to < 1.5.15 · 1.6.0-rc.0 to < 1.6.17 · 1.7.0-rc.0 to < 1.7.24 · 1.8.0-rc.0 to < 1.8.9 · Other versions: unaffected | Affected | Not stated | EEF |
| phoenixframework | — | phoenixframework/phoenixphoenix · 2270aaf21bd02c6a6a1022820564efb605a97655 and later (affected · git); changes: unaffected at 7f7b971c1ea0994e3fbd1c11ddb05e780bd38ad8, unaffected at 89a1c4be161e436241e12b2378a719904b9bd96f, unaffected at b90b22521465ece00eb5a19d5aa2b9465b209c85, unaffected at beffc4da1e787e572121f68902c63daf4fe7d9c2 · Other versions: unaffected | Version-specific | Not stated | EEF |
Description
Improper Check for Unusual or Exceptional Conditions vulnerability in phoenixframework phoenix (Presence JavaScript client) allows an attacker with ordinary channel access to cause a persistent client-side denial of service against every viewer of a presence channel topic. This vulnerability is associated with program files assets/js/phoenix/presence.js and program routines Presence.syncState and Presence.syncDiff. The Phoenix JavaScript presence client checks whether a presence already exists with a bare truthiness test (state[key]) instead of an own-property check. Presence keys can be attacker-controlled, because applications track presences under a username or id supplied by the client. A user who joins a channel choosing a key that is an Object.prototype member name (__proto__, constructor, toString, hasOwnProperty, and similar) makes that lookup return JavaScript's built-in Object.prototype instead of undefined. Because the prototype is truthy, the code treats it as an existing presence and reads .metas.map(...) off it, which throws an uncaught TypeError. The exception propagates out of the presence message handler, so the local state is never updated and onSync() never fires. Because the malicious key is tracked on the server, it is re-pushed on every presence update and keeps re-throwing, so presence sync stays broken for every viewer of that channel topic until the attacker leaves. Both syncState and syncDiff use the same unsafe existence-check pattern. The impact is limited to the affected topic and is a read-time confusion of the prototype object, not a mutation of Object.prototype (it is not prototype pollution). This issue affects phoenix: from 1.2.0-rc.0 before 1.5.15, from 1.6.0-rc.0 before 1.6.17, from 1.7.0-rc.0 before 1.7.24, and from 1.8.0-rc.0 before 1.8.9; phoenix: from 1.2.0-rc.0 before 1.5.15, from 1.6.0-rc.0 before 1.6.17, from 1.7.0-rc.0 before 1.7.24, and from 1.8.0-rc.0 before 1.8.9.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- EEF · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| phoenixframework | phoenix | 1.2.0-rc.0 to < 1.5.15 (affected · semver)1.6.0-rc.0 to < 1.6.17 (affected · semver)1.7.0-rc.0 to < 1.7.24 (affected · semver)1.8.0-rc.0 to < 1.8.9 (affected · semver)Default: unaffected | EEF · cna |
| phoenixframework | phoenix | 1.2.0-rc.0 to < 1.5.15 (affected · semver)1.6.0-rc.0 to < 1.6.17 (affected · semver)1.7.0-rc.0 to < 1.7.24 (affected · semver)1.8.0-rc.0 to < 1.8.9 (affected · semver)Default: unaffected | EEF · cna |
| phoenixframework | phoenix | 2270aaf21bd02c6a6a1022820564efb605a97655 and later (affected · git); changes: unaffected at 7f7b971c1ea0994e3fbd1c11ddb05e780bd38ad8, unaffected at 89a1c4be161e436241e12b2378a719904b9bd96f, unaffected at b90b22521465ece00eb5a19d5aa2b9465b209c85, unaffected at beffc4da1e787e572121f68902c63daf4fe7d9c2Default: unaffected | EEF · cna |
Weaknesses
1- CWE-754 CWE-754 Improper Check for Unusual or Exceptional Conditions
References
8- EEF CNA record for CVE-2026-56812 https://cna.erlef.org/cves/CVE-2026-56812.html
- Introducing commit 2270aaf in phoenixframework/phoenix https://github.com/phoenixframework/phoenix/commit/2270aaf21bd02c6a6a1022820564efb605a97655
- Fix commit 7f7b971 in phoenixframework/phoenix https://github.com/phoenixframework/phoenix/commit/7f7b971c1ea0994e3fbd1c11ddb05e780bd38ad8
- Fix commit 89a1c4b in phoenixframework/phoenix https://github.com/phoenixframework/phoenix/commit/89a1c4be161e436241e12b2378a719904b9bd96f
- Fix commit b90b225 in phoenixframework/phoenix https://github.com/phoenixframework/phoenix/commit/b90b22521465ece00eb5a19d5aa2b9465b209c85
- Fix commit beffc4d in phoenixframework/phoenix https://github.com/phoenixframework/phoenix/commit/beffc4da1e787e572121f68902c63daf4fe7d9c2
- https://github.com/phoenixframework/phoenix/security/advisories/GHSA-63mc-hw7g-86rr
- OSV record EEF-CVE-2026-56812 https://osv.dev/vulnerability/EEF-CVE-2026-56812
Provider assertions
2EEF · cna
Phoenix JavaScript presence client crashes on presence keys colliding with Object.prototype members in Presence.syncState/syncDiff
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f2bc2baa3ba9213026832bf8194bae0cfb014782373d76966b1187476ca76ca2
- Ingested
- 30 Sep 2026, 15:25:43 UTC
- Source record
- Official CVE record