# CVE-2026-64941: Open redirect in Phoenix.LiveView.validate_local_url!/2 via ASCII tab, LF and CR

> Attackers can redirect users to malicious sites via crafted URLs containing hidden whitespace characters in Phoenix LiveView applications.

- **Severity:** Low 2.1 (`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`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** A user has to click or open something
- **Fix available:** Yes
- **Published:** 10 Aug 2026
- **Updated:** 10 Aug 2026
- **Also known as:** EEF-CVE-2026-64941, GHSA-36m4-rm57-3prf

## What is CVE-2026-64941?

CVE-2026-64941 is a low-severity vulnerability in phoenixframework phoenix_live_view, published on 10 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

### Official 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.

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.

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.

Weakness: CWE-601 (URL Redirection to Untrusted Site)

## Which versions are affected by CVE-2026-64941?

1 open source package ship an affected version, including phoenix_live_view.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `phoenix_live_view` | Hex | From 0.5.0 | 1.0.19, 1.1.33, 1.2.9 |

## How do I fix CVE-2026-64941?

Upgrade phoenix_live_view to a fixed version for your release line: 1.0.19, 1.1.33 or 1.2.9.

## Is CVE-2026-64941 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-64941 exists.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-64941 and fix it if it is affected.

What it is: CVE-2026-64941 is a low-severity vulnerability in phoenixframework phoenix_live_view, published on 10 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-64941 exists.

Affected packages and fixed versions:
- phoenix_live_view (Hex): affected from 0.5.0; fixed in 1.0.19, 1.1.33, 1.2.9

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-64941/ (Markdown: https://insights.sbomify.com/CVE-2026-64941/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-64941
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-64941
- OSV: https://osv.dev/vulnerability/CVE-2026-64941

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-64941/
Summaries are generated and may contain mistakes; the official description above is the record.
