Skip to main content

Symfony Routing CVE-2026-118516

| EUVDEUVD-2026-116904 MEDIUM
Interpretation Conflict (CWE-436)
2026-11-04 Checkmarx
6.3
CVSS 4.0 · Vendor: Checkmarx
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify host-placeholder route guarded by path rule
  2. Delivery
    Send request with crafted Host header and path prefix
  3. Exploit
    Host placeholder consumes /admin path segment
  4. Execution
    access_control/firewall path check does not match
  5. Impact
    Protected 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

symfony 6 <6.4.50
symfony 0 <5.4.56
symfony 8 <8.1.11
symfony 7 <7.4.23

Affected Packages

euvd symfony fix: 5.4.56, 6.4.50, 7.4.23, 8.1.11

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

Vendor (Checkmarx) PRIMARY 6.3 MEDIUM
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
vuln.today AI 4.8 MEDIUM

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (Checkmarx).

CVSS VectorVendor: Checkmarx

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.4%
Top 61% exploitable
Prevalence
High
Symfony is one of the most widely deployed PHP web frameworks
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
High

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2015-4050 MEDIUM POC
4.3 Jun 02

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

CVE-2019-10910 CRITICAL POC
9.8 May 16

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

CVE-2018-13818 CRITICAL POC
9.8 Jul 10

Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key parameter. Rated critical sever

CVE-2026-100872 HIGH POC
8.7 Sep 27

Insufficient verification of payment-claim state in the Sylius e-commerce platform (versions before 2.1.16 and 2.2.9) le

CVE-2026-100869 HIGH POC
8.2 Sep 27

Incorrect authorization in the Sylius Shop API lets anyone holding an order token submit arbitrary payment actions - mos

CVE-2025-64500 HIGH POC
7.3 Nov 12

Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Rated high severity (C

CVE-2026-24739 MEDIUM POC
6.3 Jan 28

Symfony versions up to 5.4.51 contains a vulnerability that allows attackers to operations being performed on an uninten

CVE-2018-12040 MEDIUM POC
6.1 Jun 13

Reflected Cross-site scripting (XSS) vulnerability in the web profiler in SensioLabs Symfony 3.3.6 allows remote attacke

CVE-2016-2403 CRITICAL
9.8 Feb 07

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

CVE-2024-51736 CRITICAL
9.8 Nov 06

Symphony process is a module for the Symphony PHP framework which executes commands in sub-processes. Rated critical sev

CVE-2019-18889 CRITICAL
9.8 Nov 21

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

CVE-2019-11325 CRITICAL
9.8 Nov 21

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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy