Read the docs

LiveView join without URL skips live_session on_mount hooks

Priority LOW 27CWE-863Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
Security bypass
Confidentiality · integrity · availability
Low · High · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-863.

Summary

Phoenix LiveView (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 lets an authenticated user mount a router-mounted LiveView without its live_session on_mount hooks. The catch-all clause of authorize_session/3 accepts a join with neither a URL nor a redirect key, so the LiveView mounts without a route and skips the hooks' checks, including event checks attached with attach_hook/4. The attacker needs a valid session token for the LiveView, which only the HTTP render issues. This is an incorrect authorization flaw (CWE-863).

Written with Claude Haiku 5.5 from the sources below · 2026-11-20

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00495 35th percentileScored 2026-11-30
Fix Fixed phoenix_live_view (phoenixframework): 1.0.20, 1.1.34, 1.2.14

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
phoenixframeworkphoenix_live_view0.16.0 to before 1.0.20; 1.1.0-rc.0 to before 1.1.34; 1.2.0-rc.0 to before 1.2.141.0.20, 1.1.34, 1.2.14Patch availableCNA
  • phoenix_live_view Vendorphoenixframework Affected 0.16.0 to before 1.0.20; 1.1.0-rc.0 to before 1.1.34; 1.2.0-rc.0 to before 1.2.14 Fixed in 1.0.20, 1.1.34, 1.2.14 Patch available CNA

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:a:phoenixframework:phoenix_live_view:*:*:*:*:*:*:*:*——phoenixframework
  • cpe:2.3:a:phoenixframework:phoenix_live_view:*:*:*:*:*:*:*:* Versions — — ·phoenixframework

Remediation

Upgrade phoenix_live_view to 1.0.20, 1.1.34, or 1.2.14, depending on the release line in use. The sources list no fixed version for on_mount hooks declared in the LiveView module, which still run.

Written with Claude Haiku 5.5 from the sources below · 2026-11-20

  • Fix · CNA phoenix_live_view (phoenixframework) Fixed in 1.0.20, 1.1.34, 1.2.14

Timeline

  1. 2026-11-20 Threatist record created from CVE-2026-126334
  2. 2026-11-20 CISA SSVC decision points changed
  3. 2026-11-25 EPSS moved to the below the 50th percentile

References

  • TI-2026-40965 Improper check for unusual conditions in phoenixframework phoenix CVSS 4.0MEDIUM 6.3
  • TI-2026-41931 Scheme validation bypass in Phoenix.LiveView.Utils leads to XSS via <.link> CVSS 4.0MEDIUM 5.1
  • TI-2026-40964 Phoenix transports do not limit channel joins per connection, enabling process-exhaustion denial of service CVSS 4.0HIGH 8.7
  • TI-2026-46420 Open redirect in Phoenix.LiveView.validate_local_url!/2 via ASCII tab, LF and CR CVSS 4.0LOW 2.1
  • TI-2026-25181 Long-poll NDJSON body splitting causes unbounded memory allocation in Phoenix CVSS 4.0HIGH 8.7
  • TI-2022-20955 socket/transport.ex in Phoenix before 1.6.14 mishandles check_origin wildcarding. CVSS 3.1HIGH 7.5
See all 11 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences