CVE-2026-56812
CVE-2026-56812 · Phoenix JavaScript presence client crashes on presence keys colliding with Object.prototype members in Presence.syncState/syncDiff
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
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.
CVSS 6.3 · Moyenne · EPSS 0,8% · Correctif disponible
- Publication
- Mise à jour
Pile logicielle: node
Produits et versions concernés
phoenix
- Versions du logiciel
- ≥ 1.2.0-rc.0, < 1.5.15: Concernée (semver)
- ≥ 1.6.0-rc.0, < 1.6.17: Concernée (semver)
- ≥ 1.7.0-rc.0, < 1.7.24: Concernée (semver)
- ≥ 1.8.0-rc.0, < 1.8.9: Concernée (semver)
Mettez à jour vers 1.5.15; Mettez à jour vers 1.6.17; Mettez à jour vers 1.7.24; Mettez à jour vers 1.8.9
phoenix
- Versions du logiciel
- ≥ 2270aaf21bd02c6a6a1022820564efb605a97655: Concernée; ≥ 7f7b971c1ea0994e3fbd1c11ddb05e780bd38ad8: Non concernée; ≥ 89a1c4be161e436241e12b2378a719904b9bd96f: Non concernée; ≥ b90b22521465ece00eb5a19d5aa2b9465b209c85: Non concernée; ≥ beffc4da1e787e572121f68902c63daf4fe7d9c2: Non concernée (git)
Aucun correctif publié
phoenix Hex
- Versions du logiciel
- 1.2.0
- 1.2.0-rc.0
- 1.2.0-rc.1
- 1.2.1
- 1.2.2
- 1.2.3
- 1.2.4
- 1.2.5
- 1.3.0
- 1.3.0-rc.0
- 1.3.0-rc.1
- 1.3.0-rc.2
- 1.3.0-rc.3
- 1.3.1
- 1.3.2
- 1.3.3
- 1.3.4
- 1.3.5
- 1.4.0
- 1.4.0-rc.0
- 1.4.0-rc.1
- 1.4.0-rc.2
- 1.4.0-rc.3
- 1.4.1
- 1.4.10
- 1.4.11
- 1.4.12
- 1.4.13
- 1.4.14
- 1.4.15
- 1.4.16
- 1.4.17
- 1.4.18
- 1.4.2
- 1.4.3
- 1.4.4
- 1.4.5
- 1.4.6
- 1.4.7
- 1.4.8
- 1.4.9
- 1.5.0
- 1.5.0-rc.0
- 1.5.1
- 1.5.10
- 1.5.11
- 1.5.12
- 1.5.13
- 1.5.14
- 1.5.2
- 1.5.3
- 1.5.4
- 1.5.5
- 1.5.6
- 1.5.7
- 1.5.8
- 1.5.9
- 1.6.0
- 1.6.0-rc.0
- 1.6.0-rc.1
- 1.6.1
- 1.6.10
- 1.6.11
- 1.6.12
- 1.6.13
- 1.6.14
- 1.6.15
- 1.6.16
- 1.6.2
- 1.6.3
- 1.6.4
- 1.6.5
- 1.6.6
- 1.6.7
- 1.6.8
- 1.6.9
- 1.7.0
- 1.7.0-rc.0
- 1.7.0-rc.1
- 1.7.0-rc.2
- 1.7.0-rc.3
- 1.7.1
- 1.7.10
- 1.7.11
- 1.7.12
- 1.7.13
- 1.7.14
- 1.7.15
- 1.7.16
- 1.7.17
- 1.7.18
- 1.7.19
- 1.7.2
- 1.7.20
- 1.7.21
- 1.7.22
- 1.7.23
- 1.7.3
- 1.7.4
- 1.7.5
- 1.7.6
- 1.7.7
- 1.7.8
- 1.7.9
- 1.8.0
- 1.8.0-rc.0
- 1.8.0-rc.1
- 1.8.0-rc.2
- 1.8.0-rc.3
- 1.8.0-rc.4
- 1.8.1
- 1.8.2
- 1.8.3
- 1.8.4
- 1.8.5
- 1.8.6
- 1.8.7
- 1.8.8
- Plages de versions concernées
- SEMVER: ≥ 1.2.0-rc.0, < 1.5.15
- SEMVER: ≥ 1.6.0-rc.0, < 1.6.17
- SEMVER: ≥ 1.7.0-rc.0, < 1.7.24
- SEMVER: ≥ 1.8.0-rc.0, < 1.8.9
Mettez à jour vers 1.5.15; Mettez à jour vers 1.6.17; Mettez à jour vers 1.7.24; Mettez à jour vers 1.8.9
phoenix npm
- Plages de versions concernées
- SEMVER: ≥ 1.2.0-rc.0, < 1.5.15
- SEMVER: ≥ 1.6.0-rc.0, < 1.6.17
- SEMVER: ≥ 1.7.0-rc.0, < 1.7.24
- SEMVER: ≥ 1.8.0-rc.0, < 1.8.9
Mettez à jour vers 1.5.15; Mettez à jour vers 1.6.17; Mettez à jour vers 1.7.24; Mettez à jour vers 1.8.9
phoenix Hex
- Versions du logiciel
- 1.2.0
- 1.2.0-rc.0
- 1.2.0-rc.1
- 1.2.1
- 1.2.2
- 1.2.3
- 1.2.4
- 1.2.5
- 1.3.0
- 1.3.0-rc.0
- 1.3.0-rc.1
- 1.3.0-rc.2
- 1.3.0-rc.3
- 1.3.1
- 1.3.2
- 1.3.3
- 1.3.4
- 1.3.5
- 1.4.0
- 1.4.0-rc.0
- 1.4.0-rc.1
- 1.4.0-rc.2
- 1.4.0-rc.3
- 1.4.1
- 1.4.10
- 1.4.11
- 1.4.12
- 1.4.13
- 1.4.14
- 1.4.15
- 1.4.16
- 1.4.17
- 1.4.18
- 1.4.2
- 1.4.3
- 1.4.4
- 1.4.5
- 1.4.6
- 1.4.7
- 1.4.8
- 1.4.9
- 1.5.0
- 1.5.0-rc.0
- 1.5.1
- 1.5.10
- 1.5.11
- 1.5.12
- 1.5.13
- 1.5.14
- 1.5.2
- 1.5.3
- 1.5.4
- 1.5.5
- 1.5.6
- 1.5.7
- 1.5.8
- 1.5.9
- Plages de versions concernées
- SEMVER: ≥ 1.2.0-rc.0, < 1.5.15
Mettez à jour vers 1.5.15
phoenix Hex
- Versions du logiciel
- 1.6.0
- 1.6.0-rc.0
- 1.6.0-rc.1
- 1.6.1
- 1.6.10
- 1.6.11
- 1.6.12
- 1.6.13
- 1.6.14
- 1.6.15
- 1.6.16
- 1.6.2
- 1.6.3
- 1.6.4
- 1.6.5
- 1.6.6
- 1.6.7
- 1.6.8
- 1.6.9
- Plages de versions concernées
- SEMVER: ≥ 1.6.0-rc.0, < 1.6.17
Mettez à jour vers 1.6.17
phoenix Hex
- Versions du logiciel
- 1.7.0
- 1.7.0-rc.0
- 1.7.0-rc.1
- 1.7.0-rc.2
- 1.7.0-rc.3
- 1.7.1
- 1.7.10
- 1.7.11
- 1.7.12
- 1.7.13
- 1.7.14
- 1.7.15
- 1.7.16
- 1.7.17
- 1.7.18
- 1.7.19
- 1.7.2
- 1.7.20
- 1.7.21
- 1.7.22
- 1.7.23
- 1.7.3
- 1.7.4
- 1.7.5
- 1.7.6
- 1.7.7
- 1.7.8
- 1.7.9
- Plages de versions concernées
- SEMVER: ≥ 1.7.0-rc.0, < 1.7.24
Mettez à jour vers 1.7.24
phoenix Hex
- Versions du logiciel
- 1.8.0
- 1.8.0-rc.0
- 1.8.0-rc.1
- 1.8.0-rc.2
- 1.8.0-rc.3
- 1.8.0-rc.4
- 1.8.1
- 1.8.2
- 1.8.3
- 1.8.4
- 1.8.5
- 1.8.6
- 1.8.7
- 1.8.8
- Plages de versions concernées
- SEMVER: ≥ 1.8.0-rc.0, < 1.8.9
Mettez à jour vers 1.8.9
phoenix npm
- Plages de versions concernées
- SEMVER: ≥ 1.2.0-rc.0, < 1.5.15
Mettez à jour vers 1.5.15
phoenix npm
- Plages de versions concernées
- SEMVER: ≥ 1.6.0-rc.0, < 1.6.17
Mettez à jour vers 1.6.17
phoenix npm
- Plages de versions concernées
- SEMVER: ≥ 1.7.0-rc.0, < 1.7.24
Mettez à jour vers 1.7.24
phoenix npm
- Plages de versions concernées
- SEMVER: ≥ 1.8.0-rc.0, < 1.8.9
Mettez à jour vers 1.8.9
Sources originales
- https://github.com/phoenixframework/phoenix/security/advisories/GHSA-63mc-hw7g-86rr
- https://cna.erlef.org/cves/CVE-2026-56812.html
- https://osv.dev/vulnerability/EEF-CVE-2026-56812
- https://github.com/phoenixframework/phoenix/commit/2270aaf21bd02c6a6a1022820564efb605a97655
- https://github.com/phoenixframework/phoenix/commit/7f7b971c1ea0994e3fbd1c11ddb05e780bd38ad8
- https://github.com/phoenixframework/phoenix/commit/89a1c4be161e436241e12b2378a719904b9bd96f
- https://github.com/phoenixframework/phoenix/commit/b90b22521465ece00eb5a19d5aa2b9465b209c85
- https://github.com/phoenixframework/phoenix/commit/beffc4da1e787e572121f68902c63daf4fe7d9c2
- https://nvd.nist.gov/vuln/detail/CVE-2026-56812