cve.bz

CVE-2026-126334 Joining a LiveView without `"url"` skips its `live_session` `on_mount` hooks

6.0 mediumEPSS 0.6%Fix available

Medium (6.0) in phoenixframework phoenix live view. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in phoenix_live_view 1.0.20, 1.1.34, 1.2.14.

On this page
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 4.0

6.0 medium
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
EPSS
0.6% estimated probability of exploitation activity in the next 30 days; 51st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-11-20. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-863 Incorrect Authorization
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
Assigned by
EEF (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • phoenix_live_view (Hex): fixed in 1.0.20, 1.1.34, 1.2.14

Ask an AI about this CVE

Show the promptExplain CVE-2026-126334 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-126334?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-126334?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-126334 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
phoenixframework phoenix_live_viewfrom 0.16.0 before 1.0.20
phoenixframework phoenix_live_viewfrom 1.1.0-rc.0 before 1.1.34
phoenixframework phoenix_live_viewfrom 1.2.0-rc.0 before 1.2.14

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
EEF-CVE-2026-126334Hexphoenix_live_view>=0.16.0 <1.0.20
>=1.1.0-rc.0 <1.1.34
>=1.2.0-rc.0 <1.2.14
1.0.20, 1.1.34, 1.2.14
EEF-CVE-2026-126334v1.0.19, v1.1.33, v1.2.13, v1.2.12, v1.2.11 and 135 moreno fix published

References

Check your stackJSON