CVE-2026-64941 Open redirect in Phoenix.LiveView.validate_local_url!/2 via ASCII tab, LF and CR

Low 2.1 Published Updated

Attackers can redirect users to malicious sites via crafted URLs containing hidden whitespace characters in Phoenix LiveView applications.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-64941?

CVE-2026-64941 is a low-severity vulnerability in phoenixframework phoenix_live_view, published on 10 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-601

Which versions are affected by CVE-2026-64941?

1 open source package ship an affected version, including phoenix_live_view.

PackageAffectedFixed in
phoenix_live_view HexFrom 0.5.01.0.19, 1.1.33, 1.2.9

How do I fix CVE-2026-64941?

Upgrade phoenix_live_view to a fixed version for your release line: 1.0.19, 1.1.33 or 1.2.9.

Is CVE-2026-64941 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-64941 exists.

Sources

Also known as EEF-CVE-2026-64941, GHSA-36m4-rm57-3prf.

Is CVE-2026-64941 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free