PT-2026-153011
CVE-2026-126334
·
Published
2026-11-20
·
Updated
2026-11-20
Description by
CVSS 4.0
6.0
MediumMetricsAV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions
phoenix live view versions 0.16.0 through 1.0.19
phoenix live view versions 1.1.0-rc.0 through 1.1.33
phoenix live view versions 1.2.0-rc.0 through 1.2.13
Description
An incorrect authorization issue allows an authenticated user to mount a router-mounted LiveView while bypassing the
on mount hooks of its live session. This occurs when a phx join message is sent without a url or redirect key. The private function Phoenix.LiveView.Channel.authorize session/3 in lib/phoenix live view/channel.ex accepts joins without a URL for any session, including root LiveViews. Consequently, the LiveView is mounted without a route, causing the system to skip live session hooks and any event checks attached via attach hook/4. An attacker requires a valid session token, which is typically issued during HTTP rendering. This allows users to send events that should be denied or maintain access after their permissions have been revoked.Recommendations
Update phoenix live view to version 1.0.20 or later.
Update phoenix live view to version 1.1.34 or later.
Update phoenix live view to version 1.2.14 or later.
As a temporary workaround, move security-relevant
on mount hooks from the live session to the LiveView module using Phoenix.LiveView.on mount/1.
As a temporary workaround, define handle params/3 in the LiveView or ensure mount/3 matches its first argument as a map (%{} = params) to force a failure when a route is missing.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾