1. Accueil
  2. Vulnérabilités
  3. CVE-2026-64941

CVE-2026-64941

Open redirect in Phoenix.LiveView.validate_local_url!/2 via ASCII tab, LF and CR

Publiée le 10 août 2026 · modifiée le 19 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 27/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Phoenixframework (3 ligne(s))
Phoenixframework
ProduitVersionsCorrigé dansSource
phoenix_live_view de 0.5.0 (inclus) à 1.0.19 (exclu) — CNA (éditeur ou attributeur)
phoenix_live_view de 1.1.0-rc.0 (inclus) à 1.1.33 (exclu) — CNA (éditeur ou attributeur)
phoenix_live_view de 1.2.0-rc.0 (inclus) à 1.2.9 (exclu) — CNA (éditeur ou attributeur)

Correctif

Non renseigné par l’éditeur.

Contournement

Contournementsource officielle

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.

Source : CNA (éditeur ou attributeur)

Savoir si vous êtes touché

Exploit signalé par les sources

Ces liens sont étiquetés « exploit » par le NVD ou par CVE.org. Nous ne les avons pas vérifiés ni copiés ; ouvrez-les avec prudence.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R: (CVSS 4.0, CNA:6b3ad84c-e1a6-4bf7-a703-f496b71e49db)
Faiblesse
CWE-601 · Autre (CWE-601)

Comment sont obtenues et calculées ces données