CVE-2026-126334
Joining a LiveView without `"url"` skips its `live_session` `on_mount` hooks
Check your servers for CVE-2026-126334
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-126334 affects phoenix_live_view, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
Incorrect Authorization vulnerability in phoenixframework phoenix_live_view allows an authenticated user to mount a router-mounted LiveView without the on_mount hooks of its live_session via a phx_join message that carries neither a "url" nor a "redirect" key.
The catch-all clause of the private Phoenix.LiveView.Channel.authorize_session/3 in lib/phoenix_live_view/channel.ex accepts a join without a URL for any session, including a root LiveView mounted at the router. The channel then mounts the LiveView with no route, and only a route adds the live_session hooks to the mount lifecycle. Checks that those hooks perform on the connected mount do not run, and event checks that they attach through attach_hook/4 are never attached. The attacker needs a valid session token for the LiveView, which only the HTTP render issues, after the hooks pass there. on_mount hooks declared in the LiveView module still run.
This issue affects phoenix_live_view: from 0.16.0 before 1.0.20, from 1.1.0-rc.0 before 1.1.34, and from 1.2.0-rc.0 before 1.2.14.
Severity (CVSS)
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Attack requirements
- present: an attack works only when the target is in a certain state or configuration
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Impact on the vulnerable system
- confidentiality low, integrity high, availability none: what an attacker can read, change or stop in the vulnerable component
- Impact on other systems
- confidentiality none, integrity none, availability none: what an attacker can read, change or stop beyond it
Exploitation
EPSS 0.66%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 52.6% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 20 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-863 Incorrect Authorization
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
phoenix_live_view
package
phoenix_live_view |
affected from 0.16.0, before 1.0.20 affected from 1.1.0-rc.0, before 1.1.34 affected from 1.2.0-rc.0, before 1.2.14
Other versions: unaffected
|
|
phoenix_live_view
package
phoenixframework/phoenix_live_view |
affected 3d1eb6752399060eebdaa7112f959ee81e7d630d and later (unaffected from 049b2b10bb051467639c8cf6f3f7ee13df401a74, unaffected from 5dc8459da3d5f7f1ba11d2fe351ea97e7a46c99f, unaffected from 71b114d75e1ed615bbe8db7474a215536163eabb, unaffected from ec47eaac9e440ca7e8664ef64c8377cd2579c40c)
Other versions: unaffected
|
Is my server affected?
Find the installed version of phoenix_live_view and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i phoenix_live_view
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-126334 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-126334RHEL, Rocky, Alma, Fedora
rpm -q phoenix_live_view
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-126334Alpine
apk list --installed | grep -i phoenix_live_viewWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-126334
trivy image --scanners vuln IMAGE | grep CVE-2026-126334
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- Joining a LiveView without `"url"` skips its `live_session` `on_mount` hooks github.com · vendor advisory, related
Patches and release notes
- Fix commit 049b2b1 in phoenixframework/phoenix_live_view github.com · patch
- Fix commit 5dc8459 in phoenixframework/phoenix_live_view github.com · patch
- Fix commit 71b114d in phoenixframework/phoenix_live_view github.com · patch
- Fix commit ec47eaa in phoenixframework/phoenix_live_view github.com · patch
Other references
- EEF CNA record for CVE-2026-126334 cna.erlef.org · related
- OSV record EEF-CVE-2026-126334 osv.dev · related
- Introducing commit 3d1eb67 in phoenixframework/phoenix_live_view github.com · related
Source: the record CVE-2026-126334 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse