CVE-2026-126334: Joining a LiveView without `"url"` skips its `live_session` `on_mount` hooks
Published 2026-11-20 · Updated 2026-11-25 · Also known as EEF-CVE-2026-126334, GHSA-v4p7-3pm2-wq6c
Summary
An incorrect authorization vulnerability in Phoenix LiveView allows authenticated users to mount router-mounted LiveViews while skipping their `live_session` `on_mount` hooks by omitting specific join keys. Engineering teams using affected versions should update to the patched releases immediately.
Who is affected
Affected deployments are those utilizing `live_session` `on_mount` hooks for security enforcement (such as access control or account suspension checks) where the target LiveView does not define `handle_params/3` and accepts `:not_mounted_at_router` as params. An attacker with a valid session token can bypass authorization checks, mounting the LiveView and successfully sending restricted events.
Exploitability
The vulnerability is exploitable over a network with low attack complexity, requiring low privileges and no user interaction, though it relies on an existing valid session token and authenticated context. The CVSS 4.0 base score is uncomputed, the EPSS is 0.006, and it is not currently listed in CISA's Known Exploited Vulnerabilities.
Remediation
- Upgrade Hex package phoenix_live_view to version 1.0.20, 1.1.34, 1.2.14, or later depending on your minor branch.
- Alternatively, move security-relevant on_mount hooks from the live_session directly into the LiveView module using Phoenix.LiveView.on_mount/1.
- Update mount/3 to match its first argument as a map or define handle_params/3 in the LiveView so joins without a route raise errors.
How to check your project
- Check the project's mix.exs and mix.lock files to verify if the phoenix_live_view dependency version falls within the ranges 0.16.0 up to 1.0.19, 1.1.0-rc.0 up to 1.1.33, or 1.2.0-rc.0 up to 1.2.13.
Automated analysis of the published advisory data, generated 2026-11-25. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| Hex | phoenix_live_view |
>= 0.16.0, < 1.0.20 | 1.0.20 | mix deps.update phoenix_live_view |
| Hex | phoenix_live_view |
>= 1.1.0-rc.0, < 1.1.34 | 1.1.34 | mix deps.update phoenix_live_view |
| Hex | phoenix_live_view |
>= 1.2.0-rc.0, < 1.2.14 | 1.2.14 | mix deps.update phoenix_live_view |
CVSS 4.0 vector
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 |
|---|---|
| Attack complexity | Low |
| Attack requirements | Present |
| Privileges required | Low |
| User interaction | None |
| Confidentiality (vulnerable system) | Low |
| Integrity (vulnerable system) | High |
| Availability (vulnerable system) | None |
| Confidentiality (subsequent systems) | None |
| Integrity (subsequent systems) | None |
| Availability (subsequent systems) | None |
Base score is not computed for CVSS 4.0 vectors; severity is taken from the advisory.
FAQ
What causes the authorization check to be skipped?
The private authorization channel clause accepts join parameters carrying neither a 'url' nor a 'redirect' key without properly validating whether a root LiveView was mounted at the router, leading to a mount with no route.
Does an attacker need special access to exploit this?
Yes, the attacker needs a valid session token for the LiveView, which is normally issued only by standard HTTP rendering after initial authentication.
Are nested LiveViews affected by this specific issue?
No, nested LiveViews naturally join without a URL key and require this behavior; however, the flaw improperly extended this exception to root LiveViews mounted at the router.
Original advisory description
References
- ADVISORY https://github.com/phoenixframework/phoenix_live_view/security/advisories/GHSA-v4p7-3pm2-wq6c
- WEB https://cna.erlef.org/cves/CVE-2026-126334.html
- WEB https://github.com/phoenixframework/phoenix_live_view/commit/3d1eb6752399060eebdaa7112f959ee81e7d630d
- FIX https://github.com/phoenixframework/phoenix_live_view/commit/049b2b10bb051467639c8cf6f3f7ee13df401a74
- FIX https://github.com/phoenixframework/phoenix_live_view/commit/5dc8459da3d5f7f1ba11d2fe351ea97e7a46c99f
- FIX https://github.com/phoenixframework/phoenix_live_view/commit/71b114d75e1ed615bbe8db7474a215536163eabb
- FIX https://github.com/phoenixframework/phoenix_live_view/commit/ec47eaac9e440ca7e8664ef64c8377cd2579c40c
- PACKAGE https://hex.pm/packages/phoenix_live_view
Source records: EEF-CVE-2026-126334 (OSV.dev) · EPSS by FIRST, 2026-11-26.