← 취약점·업데이트

보통취약점 권고PHPSymfony

Symfony: Host Placeholders Can Match the Start of the Path in Compiled URL Matchers, Bypassing Path-Based Access Control

영향

패키지영향받는 버전수정 버전
composer:symfony/routing< 5.4.565.4.56
composer:symfony/routing>= 6.0.0, < 6.4.506.4.50
composer:symfony/routing>= 7.0.0, < 7.4.237.4.23
composer:symfony/routing>= 8.0.0, < 8.1.118.1.11
composer:symfony/symfony< 5.4.565.4.56
모두 보기 (8)
패키지영향받는 버전수정 버전
composer:symfony/symfony>= 6.0.0, < 6.4.506.4.50
composer:symfony/symfony>= 7.0.0, < 7.4.237.4.23
composer:symfony/symfony>= 8.0.0, < 8.1.118.1.11

For routes that have a host, CompiledUrlMatcher matches the string $host.'.'.$pathinfo against the host regexp followed by the path regexp. A host placeholder could match /, so it could eat the start of the path, while UrlMatcher matches the host and the path separately and finds no route. Rules that look at the path, such as access_control entries and the pattern of firewalls, judge the real path, so they do not apply, while the controller of the route runs. With the route /admin/report/{id},…

GitHub Advisory Database에서 읽기

2026. 12. 02. 오전 06:13, GitHub Advisory Database에서 "Symfony: Host Placeholders Can Match the Start of the Path in Compiled URL Matchers, Bypassing Path-Based Access Control"을(를) 게시했습니다 (유형: 취약점 권고). 심각도는 "보통"(medium)입니다. 관련 기술: PHP, Symfony. CVE: CVE-2026-118516.