{"containers":{"cna":{"affected":[{"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:phoenixframework:phoenix_live_view:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.Phoenix.LiveView'"],"packageName":"phoenix_live_view","packageURL":"pkg:hex/phoenix_live_view","product":"phoenix_live_view","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","versions":[{"lessThan":"1.0.19","status":"affected","version":"0.5.0","versionType":"semver"},{"lessThan":"1.1.33","status":"affected","version":"1.1.0-rc.0","versionType":"semver"},{"lessThan":"1.2.9","status":"affected","version":"1.2.0-rc.0","versionType":"semver"}]},{"collectionURL":"https://github.com","cpes":["cpe:2.3:a:phoenixframework:phoenix_live_view:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.Phoenix.LiveView'"],"packageName":"phoenixframework/phoenix_live_view","packageURL":"pkg:github/phoenixframework/phoenix_live_view","product":"phoenix_live_view","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","versions":[{"changes":[{"at":"0b8c733133466912f81adecaea72b6712370242e","status":"unaffected"},{"at":"1c164f83df0bb922dfff9c60d125da5b0cfd6619","status":"unaffected"},{"at":"2068b304d71907064b159b6bc60c5ad85a876ecf","status":"unaffected"}],"lessThan":"*","status":"affected","version":"b20dba3f65a380b2e4868dae03397f13d2daa070","versionType":"git"}]}],"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"}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>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 <code>:to</code> value containing ASCII tab, LF or CR.</p>\n<p><code>redirect/2</code> validates <code>:to</code> through the private <code>validate_local_url!/2</code> in <code>lib/phoenix_live_view.ex</code>, which is intended to guarantee the target is a path within the application. It rejects a leading <code>//</code> and any backslash, but not ASCII tab, LF or CR. Browsers strip those three characters before parsing a URL, so a value such as <code>/&lt;TAB&gt;/example.com</code> passes validation as a path and is then resolved as the scheme-relative URL <code>//example.com</code>. The live navigation functions share the guard but are not affected, because the client expands their target against the current origin. <code>push_patch/2</code> is also affected before 0.7.0, which is when that expansion was added.</p>\n<p>This 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.</p>"},{"base64":false,"type":"text/markdown","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\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."}],"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."}],"impacts":[{"capecId":"CAPEC-3","descriptions":[{"lang":"en","value":"CAPEC-3 Using Leading 'Ghost' Character Sequences to Bypass Input Filters"}]}],"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":{"dateUpdated":"2026-08-10T11:05:14.571Z","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","shortName":"EEF"},"references":[{"tags":["vendor-advisory","related"],"url":"https://github.com/phoenixframework/phoenix_live_view/security/advisories/GHSA-36m4-rm57-3prf"},{"tags":["related"],"url":"https://cna.erlef.org/cves/CVE-2026-64941.html"},{"tags":["related"],"url":"https://osv.dev/vulnerability/EEF-CVE-2026-64941"},{"tags":["patch"],"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"}],"source":{"discovery":"EXTERNAL"},"title":"Open redirect in Phoenix.LiveView.validate_local_url!/2 via ASCII tab, LF and CR","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."}]}},"cveMetadata":{"assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","assignerShortName":"EEF","cveId":"CVE-2026-64941","datePublished":"2026-08-10T11:05:14.571Z","dateReserved":"2026-08-09T16:30:01.572Z","dateUpdated":"2026-08-10T11:05:14.571Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"}