CVE-2026-56812
Last modified
CVE-2026-56812 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.35% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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/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
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Phoenixframework | Phoenix | >= 1.2.0, < 1.5.15 |
| Phoenixframework | Phoenix | >= 1.6.0, < 1.6.17 |
| Phoenixframework | Phoenix | >= 1.7.0, < 1.7.24 |
| Phoenixframework | Phoenix | >= 1.8.0, < 1.8.9 |
References
- https://cna.erlef.org/cves/CVE-2026-56812.htmlPatch, Third Party Advisory, Mitigation
- https://github.com/phoenixframework/phoenix/security/advisories/GHSA-63mc-hw7g-86rrExploit, Patch, Vendor Advisory
- https://osv.dev/vulnerability/EEF-CVE-2026-56812Third Party Advisory, Mitigation
- https://github.com/phoenixframework/phoenix/security/advisories/GHSA-63mc-hw7g-86rrExploit, Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-56812?
How severe is CVE-2026-56812?
How do I fix CVE-2026-56812?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-56794Dell OpenManage Server Administrator, versions prior to 11.1…6.5
- CVE-2026-56808DGM3103SCT provided by AVTECH Security Corporation contains …8.6
- CVE-2026-56809Multiple laser printers and MFPs (multifunction printers) wh…6.1
- CVE-2026-5681A flaw has been found in itsourcecode sanitize or validate t…6.3
- CVE-2026-56810Allocation of Resources Without Limits or Throttling vulnera…8.7
- CVE-2026-56811Allocation of Resources Without Limits or Throttling vulnera…7.5
- CVE-2026-56813Improper Neutralization of Parameter/Argument Delimiters vul…2.1
- CVE-2026-56814Plug.Parsers.MULTIPART, the multipart request-body parser us…6.9
- CVE-2026-56815pwnlift before d7a9544, in a privileged deployment, contains…7.4
- CVE-2026-56816Netty is a network application framework for development of …7.5
- CVE-2026-56817Netty is a network application framework for development of …9.8
- CVE-2026-56818Netty is an asynchronous, event-driven network application f…6.5
Are you affected by CVE-2026-56812?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
