{"id":"CVE-2026-64941","aliases":["CVE-2026-64941","EEF-CVE-2026-64941","GHSA-36m4-rm57-3prf"],"related":[],"kind":"vulnerability","state":"published","title":"Open redirect in Phoenix.LiveView.validate_local_url!/2 via ASCII tab, LF and CR","summary":"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.\n\nredirect/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.\n\nThis 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\nredirect/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.\n\nThis 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.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nURL 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.\n\n`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.\n\nThis 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.\n\n## Workarounds\n\nReject 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.\n\n## Configurations\n\nThe application must pass an externally influenced value as `:to` to `redirect/2`, or to `push_patch/2` before 0.7.0, for example a `return_to` parameter carried through sign-in or a navigation target taken from a `handle_event/3` payload.","format":"markdown","source":"eef"},{"lang":"es","text":"Vulnerabilidad de redirección de URL a sitio no confiable (’redirección abierta’) en phoenixframework phoenix_live_view permite a un atacante enviar el navegador de una víctima a un origen elegido por el atacante a través de un valor :to que contiene tabulador ASCII, LF o CR.\n\nredirect/2 valida :to a través de la función privada validate_local_url!/2 en lib/phoenix_live_view.ex, que está destinada a garantizar que el objetivo sea una ruta dentro de la aplicación. Rechaza un // inicial y cualquier barra invertida, pero no el tabulador ASCII, LF o CR. Los navegadores eliminan esos tres caracteres antes de analizar una URL, por lo que un valor como /[TAB]/example.com pasa la validación como una ruta y luego se resuelve como la URL relativa al esquema //example.com. Las funciones de navegación en vivo comparten la protección pero no se ven afectadas, porque el cliente expande su objetivo contra el origen actual. push_patch/2 también se ve afectado antes de 0.7.0, que es cuando se añadió esa expansión.\n\nEste problema afecta a phoenix_live_view: desde 0.5.0 antes de 1.0.19, desde 1.1.0-rc.0 antes de 1.1.33, y desde 1.2.0-rc.0 antes de 1.2.9.","source":"nvd"}],"published":"2026-08-10T11:05:14.571Z","modified":"2026-11-26T17:23:10.428Z","severity":{"scorer":"EEF","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","score":2.1,"rating":"LOW"},"severities":[{"scorer":"EEF","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","score":2.1,"rating":"LOW"},{"scorer":"Erlang Ecosystem Foundation","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"}],"cwes":["CWE-601"],"affected":[{"ranges":[{"type":"semver","introduced":"0.5.0","fixed":"1.0.19","status":"affected"},{"type":"semver","introduced":"1.1.0-rc.0","fixed":"1.1.33","status":"affected"},{"type":"semver","introduced":"1.2.0-rc.0","fixed":"1.2.9","status":"affected"}],"vendor":"phoenixframework","product":"phoenix_live_view","package":"phoenix_live_view","cpe":"cpe:2.3:a:phoenixframework:phoenix_live_view:*:*:*:*:*:*:*:*","repo":"https://github.com/phoenixframework/phoenix_live_view","source":"cvelist"},{"ranges":[{"type":"git","introduced":"b20dba3f65a380b2e4868dae03397f13d2daa070","fixed":"*","status":"affected"}],"vendor":"phoenixframework","product":"phoenix_live_view","package":"phoenixframework/phoenix_live_view","cpe":"cpe:2.3:a:phoenixframework:phoenix_live_view:*:*:*:*:*:*:*:*","repo":"https://github.com/phoenixframework/phoenix_live_view","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.5.0","status":"affected","fixed":"1.0.19"},{"type":"semver","introduced":"1.1.0-rc.0","status":"affected","fixed":"1.1.33"},{"type":"semver","introduced":"1.2.0-rc.0","status":"affected","fixed":"1.2.9"}],"ecosystem":"Hex","package":"phoenix_live_view","purl":"pkg:hex/phoenix_live_view","source":"eef"},{"ranges":[{"type":"git","introduced":"b20dba3f65a380b2e4868dae03397f13d2daa070","status":"affected","fixed":"0b8c733133466912f81adecaea72b6712370242e"},{"type":"git","status":"affected","fixed":"1c164f83df0bb922dfff9c60d125da5b0cfd6619"},{"type":"git","status":"affected","fixed":"2068b304d71907064b159b6bc60c5ad85a876ecf"}],"repo":"https://github.com/phoenixframework/phoenix_live_view","source":"eef"}],"references":[{"url":"https://github.com/phoenixframework/phoenix_live_view/security/advisories/GHSA-36m4-rm57-3prf","tags":["advisory","exploit","related","vendor-advisory"],"sources":["cvelist","eef","nvd"]},{"url":"https://cna.erlef.org/cves/CVE-2026-64941.html","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-64941","tags":["related"],"sources":["cvelist","nvd"]},{"url":"https://github.com/phoenixframework/phoenix_live_view/commit/b20dba3f65a380b2e4868dae03397f13d2daa070","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/phoenixframework/phoenix_live_view/commit/0b8c733133466912f81adecaea72b6712370242e","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/phoenixframework/phoenix_live_view/commit/1c164f83df0bb922dfff9c60d125da5b0cfd6619","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/phoenixframework/phoenix_live_view/commit/2068b304d71907064b159b6bc60c5ad85a876ecf","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]},{"url":"https://hex.pm/packages/phoenix_live_view","tags":["package"],"sources":["eef"]}],"credits":["Eurico Nicacio","Jonatan Männchen / EEF","Steffen Deusch","José Valim"],"assigner":"EEF","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-08-10T13:00:10.932Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-64941","url":"https://www.cve.org/CVERecord?id=CVE-2026-64941","licence":"CVE Terms of Use","modified":"2026-11-19T08:44:28.157Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2026-64941","url":"https://osv.dev/vulnerability/EEF-CVE-2026-64941","licence":"CC-BY-4.0","modified":"2026-11-26T17:23:10.428Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-64941","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64941","licence":"Public domain","modified":"2026-11-19T09:17:48.523Z"}],"updatedAt":"2026-11-26T17:37:09.142Z","epss":{"score":0.00348,"percentile":0.30459,"date":"2026-12-01T12:00:22.000Z"}}