CVE-2026-64941: CWE-601 URL Redirection to Untrusted Site ('Open Redirect') in phoenixframework phoenix_live_view
CVE-2026-64941 is an open redirect vulnerability in phoenixframework's phoenix_live_view component. The vulnerability arises because the redirect/2 function improperly validates the :to parameter, allowing ASCII tab, LF, or CR characters that browsers strip before URL parsing. This enables attackers to redirect users to arbitrary external sites. The issue affects multiple versions before fixed releases and has a low CVSS score indicating limited impact.
AI Analysis
Technical Summary
The vulnerability in phoenix_live_view involves improper validation of the :to parameter in the redirect/2 function. Although the function attempts to restrict redirects to local paths by rejecting leading // and backslashes, it does not reject ASCII tab, line feed, or carriage return characters. Browsers remove these characters before parsing URLs, allowing a crafted :to value such as /<TAB>/example.com to bypass validation and be interpreted as a scheme-relative URL (//example.com), effectively redirecting users to an attacker-controlled site. The live navigation functions are not affected due to client-side URL expansion, but push_patch/2 is affected before version 0.7.0. Affected versions include 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.
Potential Impact
An attacker can craft URLs that cause a victim's browser to be redirected to an arbitrary external site controlled by the attacker. This can facilitate phishing or other social engineering attacks by leveraging the trust in the vulnerable application. The vulnerability does not allow code execution or data leakage directly but can be used to redirect users to malicious sites. The CVSS score is low (2.1), reflecting the limited scope and requirement for user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid using redirect/2 with untrusted input or sanitize the :to parameter to reject ASCII tab, LF, and CR characters explicitly. Monitor vendor channels for updates and apply official patches once released.
CVE-2026-64941: CWE-601 URL Redirection to Untrusted Site ('Open Redirect') in phoenixframework phoenix_live_view
Description
CVE-2026-64941 is an open redirect vulnerability in phoenixframework's phoenix_live_view component. The vulnerability arises because the redirect/2 function improperly validates the :to parameter, allowing ASCII tab, LF, or CR characters that browsers strip before URL parsing. This enables attackers to redirect users to arbitrary external sites. The issue affects multiple versions before fixed releases and has a low CVSS score indicating limited impact.
CVSS v4.0
Score 2.1low
Affected software
phoenixframework
phoenix_live_view
phoenixframework
phoenix_live_view
pkg:hex/phoenix_live_viewpkg:github/phoenixframework/phoenix_live_viewcpe:2.3:a:phoenixframework:phoenix_live_view:*:*:*:*:*:*:*:*Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in phoenix_live_view involves improper validation of the :to parameter in the redirect/2 function. Although the function attempts to restrict redirects to local paths by rejecting leading // and backslashes, it does not reject ASCII tab, line feed, or carriage return characters. Browsers remove these characters before parsing URLs, allowing a crafted :to value such as /<TAB>/example.com to bypass validation and be interpreted as a scheme-relative URL (//example.com), effectively redirecting users to an attacker-controlled site. The live navigation functions are not affected due to client-side URL expansion, but push_patch/2 is affected before version 0.7.0. Affected versions include 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.
Potential Impact
An attacker can craft URLs that cause a victim's browser to be redirected to an arbitrary external site controlled by the attacker. This can facilitate phishing or other social engineering attacks by leveraging the trust in the vulnerable application. The vulnerability does not allow code execution or data leakage directly but can be used to redirect users to malicious sites. The CVSS score is low (2.1), reflecting the limited scope and requirement for user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid using redirect/2 with untrusted input or sanitize the :to parameter to reject ASCII tab, LF, and CR characters explicitly. Monitor vendor channels for updates and apply official patches once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EEF
- Date Reserved
- 2026-08-09T16:30:01.572Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a79b58bbf8831d5399544f3
Added to database: 08/10/2026, 11:27:07 UTC
Last enriched: 08/17/2026, 15:56:29 UTC
Last updated: 09/24/2026, 19:11:11 UTC
Views: 73
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.