{"id":"ghsa-ghsa-xqw3-x93m-887x","seq":12154366,"kind":"advisory","title":"Symfony: Host Placeholders Can Match the Start of the Path in Compiled URL Matchers, Bypassing Path-Based Access Control","url":"https://github.com/advisories/GHSA-xqw3-x93m-887x","permalink":"https://vulnpulse.app/items/ghsa-ghsa-xqw3-x93m-887x","summary":"影響: composer:symfony/routing < 5.4.56 → 5.4.56, composer:symfony/routing >= 6.0.0, < 6.4.50 → 6.4.50, composer:symfony/routing >= 7.0.0, < 7.4.23 → 7.4.23, composer:symfony/routing >= 8.0.0, < 8.1.11 → 8.1.11, composer:symfony/symfony < 5.4.56 → 5.4.56, composer:symfony/symfony >= 6.0.0, < 6.4.50 → 6.4.50, composer:symfony/symfony >= 7.0.0, < 7.4.23 → 7.4.23, composer:symfony/symfony >= 8.0.0, < 8.1.11 → 8.1.11\nFor 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},…","severity":"medium","cvss":null,"techs":["php","symfony"],"cves":["CVE-2026-118516"],"tags":["GHSA-xqw3-x93m-887x","symfony/routing","symfony/routing","symfony/routing","symfony/routing","symfony/symfony","symfony/symfony","symfony/symfony","symfony/symfony"],"source":{"id":"ghsa","name":"GitHub Advisory Database"},"published_at":"2026-12-01T21:13:26.000Z","fetched_at":"2026-12-01T21:20:51.440Z"}