- Accueil
- Vulnérabilités
- CVE-2026-133754
CVE-2026-133754
UrlGenerator Lets Host Placeholder Values Send Generated URLs to Another Host
Résumé
UrlGenerator puts the values of host placeholders into the generated URL without encoding them. Their default requirement, [^.]++, accepts /, @, #, ?, \, % and :. With the host {tenant}.example.com, the value evil%2Ecom# gives https://evil%2Ecom#.example.com/dashboard, which browsers send to evil.com. This works even when requirements are checked. Unicode full stops like 。 have the same effect, since IDNA maps them to .. Applications are exposed when untrusted values reach host placeholders, for example when they pass the query string of the request to url(). A route that uses RedirectController::redirectAction() with keepQueryParams: true does the same, when the target route has a host placeholder that the redirecting route doesn't define. UrlGenerator now rejects host placeholder values that contain a character that is forbidden in a host. These characters are C0 controls, space, #, %, /, :, <, >, ?, @, [, \, ], ^, | and DEL. Unicode full stops are rejected too. This check applies whatever strict_requirements is set to. When strict_requirements is false or null, the generator logs an error and returns an empty string instead of throwing. Host placeholder values can still be an IPv6 literal like [::1], but they can't contain a port anymore.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Symfony (8 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| symfony/routing | avant 5.4.57 (exclu) |
— | CNA (éditeur ou attributeur) |
| symfony/routing | de 6.0.0 (inclus) à 6.4.51 (exclu) |
— | CNA (éditeur ou attributeur) |
| symfony/routing | de 7.0.0 (inclus) à 7.4.24 (exclu) |
— | CNA (éditeur ou attributeur) |
| symfony/routing | de 8.0.0 (inclus) à 8.1.12 (exclu) |
— | CNA (éditeur ou attributeur) |
| symfony/symfony | avant 5.4.57 (exclu) |
— | CNA (éditeur ou attributeur) |
| symfony/symfony | de 6.0.0 (inclus) à 6.4.51 (exclu) |
— | CNA (éditeur ou attributeur) |
| symfony/symfony | de 7.0.0 (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
- — 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-116 · Autre (CWE-116)