Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify host-placeholder route guarded by path rule
-
DeliverySend request with crafted Host header and path prefix
-
ExploitHost placeholder consumes /admin path segment
-
Executionaccess_control/firewall path check does not match
-
ImpactProtected controller executes unauthenticated
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V4 - API and Web Service Interpretation consistency
|
| Exploitation Conditions | The application must define at least one route containing a host placeholder (e.g. host app.{domain}) and rely on path-based protection for it, such as access_control: [{ path: ^/admin, roles: ROLE_ADMIN }] or a firewall pattern. Exploitation then requires one of: (a) the default host requirement, where the attacker must supply the route host minus its trailing labels (e.g. Host: app) AND the web server forwards a raw/absolute-URI Host to FastCGI - nginx can do this - because framework.trusted_hosts otherwise blocks that forged Host; or (b) a host-placeholder requirement that accepts '/', such as .+, in which case a genuine hostname works (domain='example.com./x') and trusted_hosts does NOT help. Limiting factors: no vulnerable route/rule combination means no exposure; framework.trusted_hosts with the default requirement blocks the forged-Host variant; and compiled routes stay vulnerable until the cache is cleared after upgrading, so clearing the cache is required. |
| Impact | This is a moderate-priority authorization-bypass issue, not a top-tier emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N) scores 6.3 (Medium) with only Low confidentiality and Low integrity impact (VC:L/VI:L, VA:N), and the AT:P flag signals that exploitation depends on an attack requirement outside the attacker's control - here, a specific vulnerable route/rule combination plus either a web-server Host-passthrough behavior or a permissive host requirement. No EPSS score was supplied, the CVE is not listed in CISA KEV, and no public exploit was identified - the only references are the vendor GHSA advisory and the patch commit. These signals are internally consistent: a config-dependent, limited-impact bypass with no observed exploitation. The vendor-ecosystem Decision label is this_month, which aligns with 'patch in the normal cycle' rather than act_now/emergency. The realistic concern is that Symfony is extremely widely deployed, so even a narrow condition will apply to some real applications; prioritize patching for apps that actually use host-placeholder routes guarded by path-based access_control/firewall patterns. |
| Exploit ScenarioDerived | An unauthenticated attacker targets a Symfony app that has a route with a host placeholder (e.g. host app.{domain}, path /admin/report/{id}) protected only by a path rule like access_control path ^/admin. Because CompiledUrlMatcher matches host-plus-path as one string, the attacker sends a request whose Host and path are crafted so the host placeholder swallows the leading /admin (e.g. Host: app, path /x./admin/report/1, or with a .+ requirement a real hostname plus /x./admin/report/1), so the path-based rule evaluates the real path and never triggers while the protected controller still runs. No public exploit code was identified at time of analysis, but the advisory provides fully worked request examples. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 04, 2026
Path-based authorization bypass in Symfony Routing (CompiledUrlMatcher) allows unauthenticated remote requests to reach controllers that access_control entries or firewall patterns are meant to protect. Applications are affected when a route defines a host placeholder (for example host app.{domain}) and protection relies on the request path: the compiled matcher can let the host placeholder consume the beginning of the path, so the request is routed to the controller while the security rules evaluate the real path and do not apply. Exploitation requires either a forged Host equal to the route host minus its trailing labels combined with a web server that forwards a raw absolute-URI Host to FastCGI (nginx can do this), or a host requirement that accepts '/' such as .+ where a genuine hostname suffices; no public exploit identified at time of analysis, and vendor patches are published for 5.4.56, 6.4.50, 7.4.23 and 8.1.11, but compiled routes remain vulnerable until the application cache is cleared.
RemediationAI
Vendor-released patch: upgrade to 5.4.56, 6.4.50, 7.4.23 or 8.1.11 depending on your branch (fix commit 067cde51e29f6d605de4de53322a02c6e23b5416, backported from 5.4 through 8.2), and then clear the Symfony application cache, since the flaw is in the compiled route dumper and stale compiled routes remain exploitable until the cache is rebuilt - plan the cache clear as a mandatory deploy step, taking the usual brief warm-up hit. Where upgrading is not immediately possible, the advisory describes two narrow mitigations with different trade-offs: with the default host requirement, framework.trusted_hosts blocks the forged Host (the route host minus its trailing labels, e.g. app), but this does nothing when a host placeholder requirement accepts '/', such as .+; so tighten any host placeholder requirements that can match '/' to prevent host data from consuming path characters, verifying that legitimate hostnames still match afterwards. Additionally, harden the web tier so a raw Host header cannot be forwarded to FastCGI for request lines carrying an absolute URI (the nginx behavior the advisory calls out), since a web server that only serves known names may not stop the forged-Host variant. Full details and credits are in the advisory at https://github.com/symfony/symfony/security/advisories/GHSA-xqw3-x93m-887x.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Symfony Routing ships two matchers that interpret request data differently. UrlMatcher matches host and path separately, while the optimized CompiledUrlMatcher (routes compiled into a single generated regular expression by CompiledUrlMatcherDumper) matches the concatenation of $host.'.'.$pathinfo against the host regexp followed by the path regexp. Any host placeholder whose requirement can match '/' - and with the default requirement a shortened Host such as app, or with .+ a full name such as app.example.com - can therefore swallow the first path segment, so the compiled regexp accepts a request that UrlMatcher would reject as no-route. Because security components judge the actual request path, access_control: [{ path: ^/admin, roles: ROLE_ADMIN }] and firewall pattern rules see /x./admin/report/1 as non-matching and never run, while the controller for /admin/report/{id} executes. The root cause is an interpretation conflict between two parsing routines, tracked as CWE-436 and, for the resulting effect, CWE-863 (incorrect authorization). The upstream fix, commit 067cde51e29f6d605de4de53322a02c6e23b5416, changes the dumper so the compiled regexp captures the path ahead of each host alternative that contains placeholders and verifies after the host regexp that the remainder of the subject is exactly that path (via a lookahead capture plus a backreference), so the path starts at the first '/' and host placeholders can no longer match any portion of it regardless of their requirements. Because the fix lives in the dumper, previously generated compiled route files stay vulnerable until the cache is rebuilt.
Know when Symfony gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Remote and unauthenticated (AV:N/PR:N/UI:N), but AC:H because it needs a specific vulnerable route/rule plus Host-passthrough or permissive requirement; only limited C/I from reaching one protected controller.
Primary rating from Vendor (Checkmarx).
CVSS VectorVendor: Checkmarx
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
FragmentListener in the HttpKernel component in Symfony 2.3.19 through 2.3.28, 2.4.9 through 2.4.10, 2.5.4 through 2.5.1
In Symfony before 2.7.51, 2.8.x before 2.8.50, 3.x before 3.4.26, 4.x before 4.1.12, and 4.2.x before 4.2.7, when servic
Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key parameter. Rated critical sever
Insufficient verification of payment-claim state in the Sylius e-commerce platform (versions before 2.1.16 and 2.2.9) le
Incorrect authorization in the Sylius Shop API lets anyone holding an order token submit arbitrary payment actions - mos
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Rated high severity (C
Symfony versions up to 5.4.51 contains a vulnerability that allows attackers to operations being performed on an uninten
Reflected Cross-site scripting (XSS) vulnerability in the web profiler in SensioLabs Symfony 3.3.6 allows remote attacke
Symfony before 2.8.6 and 3.x before 3.0.6 allows remote attackers to bypass authentication by logging in with an empty p
Symphony process is a module for the Symphony PHP framework which executes commands in sub-processes. Rated critical sev
An issue was discovered in Symfony 3.4.0 through 3.4.34, 4.2.0 through 4.2.11, and 4.3.0 through 4.3.7. Rated critical s
An issue was discovered in Symfony before 4.2.12 and 4.3.x before 4.3.8. Rated critical severity (CVSS 9.8), this vulner
EUVD-2026-116904
NVD
CVE.org
EPSS
GitHub
Exploit-DB