- Home
- Vulnerabilities
- CVE-2026-129344
CVE-2026-129344
Client-selected V1 serializer crashes shared broadcast dispatch on binary payloads
Summary
Uncaught Exception vulnerability in phoenixframework phoenix allows an unauthenticated attacker to cause a denial of service via a client-selected legacy serializer on binary channel broadcasts. When an application broadcasts {:binary, data} payloads on a channel topic, any client that connects without a vsn parameter, or with vsn=1.0.0, and joins that topic makes those broadcasts fail. Phoenix.Channel.Server.send/4 encodes each broadcast with every subscriber's own serializer inside the PubSub dispatch loop, calling fastlane!/1 with no rescue, and the negotiated Phoenix.Socket.V1.JSONSerializer raises Protocol.UndefinedError on a binary payload. Every binary broadcast on the topic then crashes the broadcasting process and skips every subscriber dispatched after the attacker. For broadcasts arriving from other nodes the loop runs in the PubSub adapter worker, whose repeated crashes restart the PubSub supervisor and empty the node's subscription registry while sockets stay connected. This issue affects phoenix: from 1.5.7 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.
Affected products and versions
Phoenixframework (4 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| Phoenix | from 1.5.7 (included) to 1.5.16 (excluded) |
— | CNA (vendor or assigner) |
| Phoenix | from 1.6.0-rc.0 (included) to 1.6.18 (excluded) |
— | CNA (vendor or assigner) |
| Phoenix | from 1.7.0-rc.0 (included) to 1.7.25 (excluded) |
— | CNA (vendor or assigner) |
| Phoenix | from 1.8.0-rc.0 (included) to 1.8.17 (excluded) |
— | CNA (vendor or assigner) |
Fix
Not provided by the vendor.
Workaround
Workaroundofficial source
Reject the V1 serializer by listing only the V2 serializer on each socket: socket "/socket", MyAppWeb.UserSocket, websocket: [serializer: [{Phoenix.Socket.V2.JSONSerializer, "~> 2.0.0"}]], longpoll: [serializer: [{Phoenix.Socket.V2.JSONSerializer, "~> 2.0.0"}]] Clients that connect without a vsn parameter or with vsn=1.0.0 are then refused.
Source : CNA (vendor or assigner)
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
References
- https://github.com/phoenixframework/phoenix/commit/30e5d9d7704b964772c131314508c45ed85ed807patch
- https://github.com/phoenixframework/phoenix/commit/5d57f442a1ffab8a866add770477a14a0cd792d9patch
- https://github.com/phoenixframework/phoenix/commit/c255d983e03893ae46abf01d13c3ec3bd20f029cpatch
- https://github.com/phoenixframework/phoenix/commit/eddaeb6d50c903fc77b465dbf3efd89feee0816bpatch
- https://github.com/phoenixframework/phoenix/security/advisories/GHSA-5vmc-qgf8-rw36vendor-advisory, related
- https://cna.erlef.org/cves/CVE-2026-129344.htmlrelated
- https://osv.dev/vulnerability/EEF-CVE-2026-129344related
- https://github.com/phoenixframework/phoenix/commit/07b401901fc1d649f126eee6315b5eb01fa5c85crelated
- https://github.com/phoenixframework/phoenix/commit/cf098e9cf7a44ee6479d31d911a97d3c7430c6ferelated
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- CNA (vendor or assigner)
- Weakness (CWE)
- CNA (vendor or assigner)
- CVSS 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(CVSS 4.0, CNA:EEF)- Weakness
- CWE-248 · Autre (CWE-248)