CVE-2026-64941Open redirect in Phoenix.LiveView.validate_local_url!/2 via ASCII tab, LF and CR
URL Redirection to Untrusted Site ('Open Redirect') vulnerability in phoenixframework phoenix_live_view allows an attacker to send a victim's browser to an origin of the attacker's choosing via a :to value containing ASCII tab, LF or CR. redirect/2 validates :to through the private validate_local_url!/2 in lib/phoenix_live_view.ex, which is intended to guarantee the target is a path within the application. It rejects a leading // and any backslash, but not ASCII tab, LF or CR. Browsers strip those three characters before parsing a URL, so a value such as /<TAB>/example.com passes validation as a path and is then resolved as the scheme-relative URL //example.com. The live navigation functions share the guard but are not affected, because the client expands their target against the current origin. push_patch/2 is also affected before 0.7.0, which is when that expansion was added. This issue affects phoenix_live_view: from 0.5.0 before 1.0.19, from 1.1.0-rc.0 before 1.1.33, and from 1.2.0-rc.0 before 1.2.9.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by EEF, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- phoenixframework phoenix_live_view: affected: 0.5.0 to before 1.0.19, 1.1.0-rc.0 to before 1.1.33, 1.2.0-rc.0 to before 1.2.9; fixed in
1.0.19,1.1.33,1.2.9 - phoenixframework phoenix_live_view: affected: b20dba3f65a380b2e4868dae03397f13d2daa070 and later; fixed in
0b8c733133466912f81adecaea72b6712370242e,1c164f83df0bb922dfff9c60d125da5b0cfd6619,2068b304d71907064b159b6bc60c5ad85a876ecf
Workaround: Reject any untrusted value containing ASCII tab, LF or CR before passing it as :to to redirect/2, or to push_patch/2 before 0.7.0. Alternatively, map client-supplied navigation targets to a fixed set of known-good paths rather than forwarding the value.
Vendor advisories:
- https://github.com/phoenixframework/phoenix_live_view/security/advisories/GHSA-36m4-rm57-… (vendor-advisory)
- https://github.com/phoenixframework/phoenix_live_view/commit/0b8c733133466912f81adecaea72… (patch)
- https://github.com/phoenixframework/phoenix_live_view/commit/1c164f83df0bb922dfff9c60d125… (patch)
- https://github.com/phoenixframework/phoenix_live_view/commit/2068b304d71907064b159b6bc60c… (patch)
References
- https://github.com/phoenixframework/phoenix_live_view/security/advisories/GHSA-36m4-rm57-3prf
- https://cna.erlef.org/cves/CVE-2026-64941.html
- https://osv.dev/vulnerability/EEF-CVE-2026-64941
- https://github.com/phoenixframework/phoenix_live_view/commit/b20dba3f65a380b2e4868dae03397f13d2daa070
- https://github.com/phoenixframework/phoenix_live_view/commit/0b8c733133466912f81adecaea72b6712370242e
- https://github.com/phoenixframework/phoenix_live_view/commit/1c164f83df0bb922dfff9c60d125da5b0cfd6619
- https://github.com/phoenixframework/phoenix_live_view/commit/2068b304d71907064b159b6bc60c5ad85a876ecf
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.