PatchSiren cyber security CVE debrief
CVE-2026-126334 phoenixframework CVE debrief
An authenticated user can mount a LiveView without its live_session on_mount hooks via a phx_join message lacking a 'url' or 'redirect' key. This issue affects phoenix_live_view versions 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. The vulnerability allows an authenticated user to bypass live_session authorization checks, potentially impacting application security posture. Defenders should prioritize verifying exposure in LiveView applications, especially those with authenticated users.
- Vendor
- phoenixframework
- Product
- phoenix_live_view
- CVSS
- MEDIUM 6
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-11-20
- Original CVE updated
- 2026-11-20
- Advisory published
- 2026-11-20
- Advisory updated
- 2026-11-20
Who should care
Defenders responsible for LiveView applications, especially those with authenticated users, should assess exposure and prioritize verification and remediation efforts. This includes operators, platform administrators, vulnerability management teams, and security teams who need to review and apply patches or mitigations.
Why it matters
CVE-2026-126334 allows authenticated users to bypass live_session on_mount hooks in phoenix_live_view, potentially impacting application security.
- Potential bypass of live_session authorization checks
- Possible impact on application security posture
- Need for verification of exposure in LiveView applications
- Priority for applying vendor patches
Technical summary
The vulnerability allows an authenticated user to mount a LiveView without its live_session on_mount hooks by sending a phx_join message without a 'url' or 'redirect' key. This occurs because the private Phoenix.LiveView.Channel.authorize_session/3 function accepts a join without a URL for any session, including a root LiveView mounted at the router. As a result, the LiveView is mounted 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. However, on_mount hooks declared in the LiveView module still run.
Defensive priority
Defenders should prioritize verifying exposure in LiveView applications, especially those with authenticated users, and assess the need for compensating controls.
Recommended defensive actions
- Verify LiveView application exposure, especially for authenticated users
- Assess the need for compensating controls
- Review and apply vendor patches
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
- Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance
- Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
Evidence notes
The CVE record and source item provide details on the vulnerability, while vendor advisories and related sources offer additional context. The issue is caused by the private Phoenix.LiveView.Channel.authorize_session/3 function accepting a join without a URL for any session, including a root LiveView mounted at the router. The LiveView is mounted with no route, and only a route adds the live_session hooks to the mount lifecycle.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-126334 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-126334
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-126334 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-126334
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Joining a LiveView without `"url"` skips its `live_session` `on_mount` hooks
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/126xxx/CVE-2026-126334.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://github.com/phoenixframework/phoenix_live_view/security/advisories/GHSA-v4p7-3pm2-wq6c
Supplemental source - vendor-advisory, related
-
Source reference
Unverified legacy reference
URL: https://cna.erlef.org/cves/CVE-2026-126334.html
Supplemental source - related
-
Source reference
Unverified legacy reference
URL: https://osv.dev/vulnerability/EEF-CVE-2026-126334
Supplemental source - related
-
Source reference
Unverified legacy reference
URL: https://github.com/phoenixframework/phoenix_live_view/commit/3d1eb6752399060eebdaa7112f959ee81e7d630d
Supplemental source - related
-
Source reference
Unverified legacy reference
URL: https://github.com/phoenixframework/phoenix_live_view/commit/049b2b10bb051467639c8cf6f3f7ee13df401a74
Supplemental source - patch
-
Source reference
Unverified legacy reference
URL: https://github.com/phoenixframework/phoenix_live_view/commit/5dc8459da3d5f7f1ba11d2fe351ea97e7a46c99f
Supplemental source - patch
-
Source reference
Unverified legacy reference
URL: https://github.com/phoenixframework/phoenix_live_view/commit/71b114d75e1ed615bbe8db7474a215536163eabb
Supplemental source - patch
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.