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. push_patch/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.
{
"cwe_ids": [
"CWE-601"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64941.json",
"cna_assigner": "EEF",
"unresolved_ranges": [
{
"extracted_events": [
{
"introduced": "b20dba3f65a380b2e4868dae03397f13d2daa070"
},
{
"fixed": "*"
}
],
"source": "AFFECTED_FIELD"
}
]
}{
"extracted_events": [
{
"introduced": "0.5.0"
},
{
"fixed": "1.0.19"
},
{
"introduced": "1.1.0-rc.0"
},
{
"fixed": "1.1.33"
},
{
"introduced": "1.2.0-rc.0"
},
{
"fixed": "1.2.9"
}
],
"source": "AFFECTED_FIELD"
}