DEBIAN-CVE-2026-118516

    Dashboard / Vulnerabilities / DEBIAN-CVE-2026-118516

    DEBIAN-CVE-2026-118516

    Published: 4 Nov 2026Last Modified: 7 Nov 2026
    Upstream:

    Summary:

    Details: The Symfony Routing components CompiledUrlMatcher and UrlMatcher interpret the host and path information differently, allowing path-based authorization rules to be bypassed in Symfony versions prior to 5.4.56, 6.x prior to 6.4.50, 7.x prior to 7.4.23, and 8.x prior to 8.1.11. For routes that define a host, CompiledUrlMatcher matches the string $host.'.'.$pathinfo against the host regular expression followed by the path regular expression, while UrlMatcher matches the host and the path separately. A host placeholder can therefore  match /, and consume the beginning of the path, so the request is routed to a controller, while UrlMatcher  would find no route. Rules that look at the path, such as access_control entries and firewall patterns, are evaluated against the actual request path, so they do not apply while the controller of the route runs, potentially allowing an unauthenticated request to reach a protected controller. For example, with the route /admin/report/{id}, the host app.{domain} and the rule access_control: [{ path: ^/admin, roles: ROLE_ADMIN }], an anonymous request for /admin/report/1 is sent to the login page. A request with the Host header app and path /x./admin/report/1 instead reaches the controller, with domain="/x". With the required domain: .+, the real hostname works: app.example.com and /x./admin/report/1 match with domain="example.com./x". Applications are affected if they have routes with host placeholders protected by path-based rules. With the default requirement, the Host header must be the host of the route without its last labels, such as app: framework.trusted_hosts blocks that, while a web server that only serves known names may not, for instance, Nginx passing the raw Host header to FastCGI for a request line that carries an absolute URI. If the requirement accepts /, such as .+, a real hostname works, and trusted_hosts does not help.

    Affected packages

    Package

    Name: symfony

    Purl: pkg:deb/debian/symfony?arch=source&distro=bookworm

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    5.4.23+dfsg-1
    5.4.23+dfsg-1+deb12u1
    5.4.23+dfsg-1+deb12u2
    5.4.23+dfsg-1+deb12u3
    5.4.23+dfsg-1+deb12u4
    5.4.23+dfsg-1+deb12u5
    5.4.24+dfsg-1
    5.4.25+dfsg-1
    5.4.27+dfsg-1
    5.4.28+dfsg-1
    5.4.29+dfsg-1
    5.4.30+dfsg-1
    5.4.31+dfsg-1
    5.4.31+dfsg-2
    5.4.32+dfsg-1
    5.4.33+dfsg-1
    5.4.34+dfsg-1
    5.4.34+dfsg-2
    5.4.35+dfsg-1
    5.4.35+dfsg-2
    5.4.35+dfsg-3
    5.4.52+dfsg-0+deb12u1
    5.4.53+dfsg-0+deb12u1

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    DEBIAN-CVE-2026-118516 | CVE-DB