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

Published Aug 10, 2026
·
Updated

URL Redirection to Untrusted Site ('Open Redirect') vulnerability in phoenixframework phoenixliveview 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 validatelocalurl!/2 in lib/phoenixliveview.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. pushpatch/2 is also affected before 0.7.0, which is when that expansion was added.

This issue affects phoenixliveview: 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.

Affected Software

1 affected component
Phoenix Framework phoenix_live_view>0.5.0<=1.0.19, >1.1.0-rc.0<=1.1.33, >1.2.0-rc.0<=1.2.9

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade phoenix_live_view to a version that resolves this vulnerability.

    Fixed in 1.0.19
  2. Upgrade

    Upgrade phoenix_live_view to a version that resolves this vulnerability.

    Fixed in 1.1.33
  3. Upgrade

    Upgrade phoenix_live_view to a version that resolves this vulnerability.

    Fixed in 1.2.9
  4. Upgrade

    Upgrade phoenix_live_view to a version that resolves this vulnerability.

    Fixed in 0.7.0

Event History

Aug 10, 2026
CVE Published
via MITRE·11:05 AM
Data Sourced
via MITRE·11:05 AM
DescriptionWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-64941?

CVE-2026-64941 has a risk score of 35, indicating a moderate severity level.

2

How does CVE-2026-64941 impact users of Phoenix Framework?

CVE-2026-64941 allows attackers to redirect users to untrusted sites using specially crafted URLs.

3

How do I fix CVE-2026-64941 in my application?

To mitigate CVE-2026-64941, ensure you validate URL inputs properly and sanitize them against unwanted characters.

4

What versions of Phoenix LiveView are affected by CVE-2026-64941?

CVE-2026-64941 affects versions of the Phoenix Framework that include the vulnerable validate_local_url!/2 function.

5

Can CVE-2026-64941 lead to phishing attacks?

Yes, CVE-2026-64941 can be exploited to facilitate phishing attacks by redirecting users to malicious websites.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203
CVE-2026-64941 - Open redirect in Phoenix.LiveView.validate_local_url!/2 via ASCII tab, LF and CR - SecAlerts