新着 / 2026年11月26日 / CVE-2026-135801
Symfony:スクリプト名判定の不具合によるアクセス制御迂回
掲載
何が問題か
Symfonyの Request::getPathInfo() は、スクリプト名(例:/index.php)が長いパス区間の先頭にあるだけでも、それを取り除いてパス情報を解釈します。そのため /index.phpadmin が /admin として扱われ、ルーティングに一致する場合があります。修正版では、スクリプト名の直後が /、? または URL の終端である場合のみ取り除かれます。
悪用されると
PHPより前段(nginxやApacheの設定、CDNやWAFのルール)で /admin などに適用した制限を迂回される可能性があります。Symfony自身が強制するアクセス制御は影響を受けないと記載されています。実際の悪用状況は公表されていません。
取るべき対応
Symfonyを利用している場合は修正版へ更新してください。修正版の番号は公表されていません。前段で /admin を制限している場合は、/index.phpadmin のような形式でも制限が効くかを確認し、必要に応じて設定を見直してください。
AIが出典から要約し、数値を機械照合しています。
更新履歴
初回掲載。
指標
| 深刻度(CVSS v3.1) | 重要 7.2CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
|---|---|
| 実際の攻撃での悪用 | CISA KEVには未掲載 |
| 30日以内に悪用される確率(EPSS) | 0.3%(全体の上位 87.4%) |
| 問題の種類 | CWE-288、CWE-436 |
| CVE公開日 | 2026-11-24 |
出典
- NVD: CVE-2026-135801
- https://github.com/symfony/symfony/commit/e256536ee7b57a45d69177743c86367e51551122
- https://github.com/symfony/symfony/security/advisories/GHSA-3h27-hjv7-fqjx
- https://symfony.com/cve-2026-135801
公式の説明(英語の原文)
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.