{"id":"CVE-2026-64941","state":"PUBLISHED","title":"Open redirect in Phoenix.LiveView.validate_local_url!/2 via ASCII tab, LF and CR","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.\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.","publishedAt":"2026-08-10T11:05:14.571Z","updatedAt":"2026-08-10T13:00:33.543Z","severity":{"score":2.1,"label":"Low","version":"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","source":"EEF"},"assigner":"EEF","products":["phoenixframework phoenix_live_view"],"affected":[{"vendor":"phoenixframework","product":"phoenix_live_view","packageName":"phoenix_live_view","packageURL":"pkg:hex/phoenix_live_view","defaultStatus":"unaffected","versions":[{"version":"0.5.0","status":"affected","lessThan":"1.0.19","versionType":"semver"},{"version":"1.1.0-rc.0","status":"affected","lessThan":"1.1.33","versionType":"semver"},{"version":"1.2.0-rc.0","status":"affected","lessThan":"1.2.9","versionType":"semver"}],"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:phoenixframework:phoenix_live_view:*:*:*:*:*:*:*:*"],"modules":["'Elixir.Phoenix.LiveView'"],"programFiles":["lib/phoenix_live_view.ex"],"programRoutines":[{"name":"'Elixir.Phoenix.LiveView':redirect/2"},{"name":"'Elixir.Phoenix.LiveView':push_patch/2"}],"repo":"https://github.com/phoenixframework/phoenix_live_view"},{"vendor":"phoenixframework","product":"phoenix_live_view","packageName":"phoenixframework/phoenix_live_view","packageURL":"pkg:github/phoenixframework/phoenix_live_view","defaultStatus":"unaffected","versions":[{"version":"b20dba3f65a380b2e4868dae03397f13d2daa070","status":"affected","lessThan":"*","changes":[{"at":"0b8c733133466912f81adecaea72b6712370242e","status":"unaffected"},{"at":"1c164f83df0bb922dfff9c60d125da5b0cfd6619","status":"unaffected"},{"at":"2068b304d71907064b159b6bc60c5ad85a876ecf","status":"unaffected"}],"versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:phoenixframework:phoenix_live_view:*:*:*:*:*:*:*:*"],"modules":["'Elixir.Phoenix.LiveView'"],"programFiles":["lib/phoenix_live_view.ex"],"programRoutines":[{"name":"'Elixir.Phoenix.LiveView':redirect/2"},{"name":"'Elixir.Phoenix.LiveView':push_patch/2"}],"repo":"https://github.com/phoenixframework/phoenix_live_view"}],"references":["https://github.com/phoenixframework/phoenix_live_view/security/advisories/GHSA-36m4-rm57-3prf","https://cna.erlef.org/cves/CVE-2026-64941.html","https://osv.dev/vulnerability/EEF-CVE-2026-64941","https://github.com/phoenixframework/phoenix_live_view/commit/0b8c733133466912f81adecaea72b6712370242e","https://github.com/phoenixframework/phoenix_live_view/commit/1c164f83df0bb922dfff9c60d125da5b0cfd6619","https://github.com/phoenixframework/phoenix_live_view/commit/2068b304d71907064b159b6bc60c5ad85a876ecf"],"weaknesses":["CWE-601"],"ingestedAt":"2026-10-29T20:12:41.951Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/64xxx/CVE-2026-64941.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-64941","state":"PUBLISHED","datePublished":"2026-08-10T11:05:14.571Z","dateUpdated":"2026-08-10T13:00:33.543Z","assignerShortName":"EEF","assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateReserved":"2026-08-09T16:30:01.572Z"},"containers":{"cna":{"title":"Open redirect in Phoenix.LiveView.validate_local_url!/2 via ASCII tab, LF and CR","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"phoenixframework","product":"phoenix_live_view","packageName":"phoenix_live_view","packageURL":"pkg:hex/phoenix_live_view","defaultStatus":"unaffected","versions":[{"version":"0.5.0","status":"affected","lessThan":"1.0.19","versionType":"semver"},{"version":"1.1.0-rc.0","status":"affected","lessThan":"1.1.33","versionType":"semver"},{"version":"1.2.0-rc.0","status":"affected","lessThan":"1.2.9","versionType":"semver"}],"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:phoenixframework:phoenix_live_view:*:*:*:*:*:*:*:*"],"modules":["'Elixir.Phoenix.LiveView'"],"programFiles":["lib/phoenix_live_view.ex"],"programRoutines":[{"name":"'Elixir.Phoenix.LiveView':redirect/2"},{"name":"'Elixir.Phoenix.LiveView':push_patch/2"}],"repo":"https://github.com/phoenixframework/phoenix_live_view"},{"vendor":"phoenixframework","product":"phoenix_live_view","packageName":"phoenixframework/phoenix_live_view","packageURL":"pkg:github/phoenixframework/phoenix_live_view","defaultStatus":"unaffected","versions":[{"version":"b20dba3f65a380b2e4868dae03397f13d2daa070","status":"affected","lessThan":"*","changes":[{"at":"0b8c733133466912f81adecaea72b6712370242e","status":"unaffected"},{"at":"1c164f83df0bb922dfff9c60d125da5b0cfd6619","status":"unaffected"},{"at":"2068b304d71907064b159b6bc60c5ad85a876ecf","status":"unaffected"}],"versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:phoenixframework:phoenix_live_view:*:*:*:*:*:*:*:*"],"modules":["'Elixir.Phoenix.LiveView'"],"programFiles":["lib/phoenix_live_view.ex"],"programRoutines":[{"name":"'Elixir.Phoenix.LiveView':redirect/2"},{"name":"'Elixir.Phoenix.LiveView':push_patch/2"}],"repo":"https://github.com/phoenixframework/phoenix_live_view"}],"references":[{"url":"https://github.com/phoenixframework/phoenix_live_view/security/advisories/GHSA-36m4-rm57-3prf","tags":["vendor-advisory","related"]},{"url":"https://cna.erlef.org/cves/CVE-2026-64941.html","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-64941","tags":["related"]},{"url":"https://github.com/phoenixframework/phoenix_live_view/commit/0b8c733133466912f81adecaea72b6712370242e","tags":["patch"]},{"url":"https://github.com/phoenixframework/phoenix_live_view/commit/1c164f83df0bb922dfff9c60d125da5b0cfd6619","tags":["patch"]},{"url":"https://github.com/phoenixframework/phoenix_live_view/commit/2068b304d71907064b159b6bc60c5ad85a876ecf","tags":["patch"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":2.1,"baseSeverity":"LOW","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"LOW","subIntegrityImpact":"LOW","userInteraction":"ACTIVE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-601","description":"CWE-601 URL Redirection to Untrusted Site ('Open Redirect')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"EEF","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateUpdated":"2026-08-10T11:05:14.571Z"},"configurations":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>The application must pass an externally influenced value as <code>:to</code> to <code>redirect/2</code>, or to <code>push_patch/2</code> before 0.7.0, for example a <code>return_to</code> parameter carried through sign-in or a navigation target taken from a <code>handle_event/3</code> payload.</p>"},{"base64":false,"type":"text/markdown","value":"The 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."}],"value":"The 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."}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:phoenixframework:phoenix_live_view:*:*:*:*:*:*:*:*","versionEndExcluding":"1.0.19","versionStartIncluding":"0.5.0","vulnerable":true},{"criteria":"cpe:2.3:a:phoenixframework:phoenix_live_view:*:*:*:*:*:*:*:*","versionEndExcluding":"1.1.33","versionStartIncluding":"1.1.0-rc.0","vulnerable":true},{"criteria":"cpe:2.3:a:phoenixframework:phoenix_live_view:*:*:*:*:*:*:*:*","versionEndExcluding":"1.2.9","versionStartIncluding":"1.2.0-rc.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}],"credits":[{"lang":"en","type":"finder","value":"Eurico Nicacio"},{"lang":"en","type":"remediation developer","value":"Steffen Deusch"},{"lang":"en","type":"remediation reviewer","value":"José Valim"},{"lang":"en","type":"analyst","value":"Jonatan Männchen / EEF"}],"impacts":[{"capecId":"CAPEC-3","descriptions":[{"lang":"en","value":"CAPEC-3 Using Leading 'Ghost' Character Sequences to Bypass Input Filters"}]}],"source":{"discovery":"EXTERNAL"},"workarounds":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Reject any untrusted value containing ASCII tab, LF or CR before passing it as <code>:to</code> to <code>redirect/2</code>, or to <code>push_patch/2</code> before 0.7.0. Alternatively, map client-supplied navigation targets to a fixed set of known-good paths rather than forwarding the value.</p>"},{"base64":false,"type":"text/markdown","value":"Reject 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."}],"value":"Reject 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."}]},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/phoenixframework/phoenix_live_view/security/advisories/GHSA-36m4-rm57-3prf","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-10T13:00:10.932600Z","id":"CVE-2026-64941","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-10T13:00:33.543Z"}}]}}}