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

CVE-2026-135801

Path Rules Enforced in Front of PHP Can Be Bypassed by Appending the Path to the Script Name

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

Moyen 43/100

Résumé

Since the fix for CVE-2025-64500, Request::getPathInfo() strips the script name from the start of the URL. It does so even when the script name is only the start of a longer path segment. With SCRIPT_NAME set to /index.php, a request to /index.phpadmin gets the path info /admin and is routed like /admin. Encoded spellings such as /index%2Ephpadmin or /%69ndex.phpadmin work too. Before that fix, the path info was admin, which no route matched. Rules enforced by Symfony are not affected: access_control and firewalls read the same path info as the router. Rules enforced in front of PHP are. The nginx configuration of the Symfony documentation and the .htaccess file of symfony/apache-pack make /index.php/admin unreachable, but they pass /index.phpadmin to the front controller. So a location /admin block in nginx, a <Location /admin> section in Apache, or a CDN or WAF rule on /admin can be bypassed. The script name is now stripped only when it is followed by /, ? or the end of the URL. A request to /index.phpadmin gets the path info /index.phpadmin.

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

Produits et versions affectés

Symfony (8 ligne(s))
Symfony
ProduitVersionsCorrigé dansSource
symfony/http-foundation de 5.4.50 (inclus) à 5.4.56 (exclu) — CNA (éditeur ou attributeur)
symfony/http-foundation de 6.4.29 (inclus) à 6.4.50 (exclu) — CNA (éditeur ou attributeur)
symfony/http-foundation de 7.3.7 (inclus) à 7.4.23 (exclu) — CNA (éditeur ou attributeur)
symfony/http-foundation de 8.0.0 (inclus) à 8.1.11 (exclu) — CNA (éditeur ou attributeur)
symfony/symfony de 5.4.50 (inclus) à 5.4.56 (exclu) — CNA (éditeur ou attributeur)
symfony/symfony de 6.4.29 (inclus) à 6.4.50 (exclu) — CNA (éditeur ou attributeur)
symfony/symfony de 7.3.7 (inclus) à 7.4.23 (exclu) — CNA (éditeur ou attributeur)
symfony/symfony de 8.0.0 (inclus) à 8.1.11 (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:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, CNA:134c704f-9b21-4f2e-91b3-4a467353bcc0)
Faiblesse
CWE-288 · Authentification / contrôle d'accès

Comment sont obtenues et calculées ces données