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

CVE-2026-133745

Trailing-Slash and Scheme Redirects Send Paths Starting With // to Another Host

Publiée le 25 nov. 2026 · modifiée le 1 déc. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 37/100

Résumé

The router redirects a request to the same URL with or without its trailing slash, or with the scheme that a route requires. To do so, the matcher returns RedirectController::urlRedirectAction() with the path info of the request as path. Since Symfony 5.4.44, 6.4.12 and 7.1.5, urlRedirectAction() turns a path that starts with // into <scheme>://..., so that protocol-relative targets configured in routes work. The path info of a request starts with // when its URI does. So these redirects send the browser to the host written at the start of the path: GET https://app.example//evil.example/edit/ => 301 Location: https://evil.example/edit This affects routes whose path starts with a placeholder that accepts /, like /{path}/edit with the .+ requirement. The trailing-slash redirect applies to all of them, and the scheme redirect to the ones that require a scheme. A front controller in a subdirectory doesn't prevent it. The matcher now encodes the slash or backslash that follows the leading slash of the path it redirects to, as %2F or %5C. It also does so when tabs or newlines come in between. The target route still matches it, and protocol-relative targets configured in routes keep working. The matchers of the Routing component encode it too before calling RedirectableUrlMatcherInterface::redirect(), so that other implementations of this method get the encoded path as well.

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

Produits et versions affectés

Symfony (8 ligne(s))
Symfony
ProduitVersionsCorrigé dansSource
symfony/framework-bundle de 5.4.44 (inclus) à 5.4.57 (exclu) — CNA (éditeur ou attributeur)
symfony/framework-bundle de 6.4.12 (inclus) à 6.4.51 (exclu) — CNA (éditeur ou attributeur)
symfony/framework-bundle de 7.1.5 (inclus) à 7.4.24 (exclu) — CNA (éditeur ou attributeur)
symfony/framework-bundle de 8.0.0 (inclus) à 8.1.12 (exclu) — CNA (éditeur ou attributeur)
symfony/symfony de 5.4.44 (inclus) à 5.4.57 (exclu) — CNA (éditeur ou attributeur)
symfony/symfony de 6.4.12 (inclus) à 6.4.51 (exclu) — CNA (éditeur ou attributeur)
symfony/symfony de 7.1.5 (inclus) à 7.4.24 (exclu) — CNA (éditeur ou attributeur)
symfony/symfony de 8.0.0 (inclus) à 8.1.12 (exclu) — CNA (éditeur ou attributeur)

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

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:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N (CVSS 4.0, CNA:Symfony)
Faiblesse
CWE-601 · Autre (CWE-601)

Comment sont obtenues et calculées ces données