Home / sensiolabs / symfony / CVE-2026-118516
CVE-2026-118516: is it exploited, and which versions of sensiolabs symfony are affected and fixed?
CVE-2026-118516 is an interpretation Conflict vulnerability in sensiolabs symfony. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 22:39 UTC). Affected: symfony/routing before 5.4.56, symfony/routing from 6.0.0 before 6.4.50, symfony/routing from 7.0.0 before 7.4.23 and 5 more (GitHub advisory GHSA-xqw3-x93m-887x). Fixed in 5.4.56, 6.4.50, 7.4.23 and 8.1.11 (GitHub advisory GHSA-xqw3-x93m-887x). Severity: Medium (6.3, CVSS 4.0, from Checkmarx).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 22:39 UTC, CVE record November 19, 2026, 07:04 UTC and NVD November 19, 2026, 07:04 UTC.
What is CVE-2026-118516?
Symfony: Host Placeholders Can Match the Start of the Path in Compiled URL Matchers, Bypassing Path-Based Access Control
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.
From the CVE record by Checkmarx, last updated November 9, 2026, 21:13 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| sensiolabs | symfony symfony/routing | not stated |
As the CVE record by Checkmarx states it, last updated November 9, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | symfony/routing | < 5.4.56 | 5.4.56 | GHSA-xqw3-x93m-887x |
| Packagist | symfony/routing | >= 6.0.0, < 6.4.50 | 6.4.50 | GHSA-xqw3-x93m-887x |
| Packagist | symfony/routing | >= 7.0.0, < 7.4.23 | 7.4.23 | GHSA-xqw3-x93m-887x |
| Packagist | symfony/routing | >= 8.0.0, < 8.1.11 | 8.1.11 | GHSA-xqw3-x93m-887x |
| Packagist | symfony/symfony | < 5.4.56 | 5.4.56 | GHSA-xqw3-x93m-887x |
| Packagist | symfony/symfony | >= 6.0.0, < 6.4.50 | 6.4.50 | GHSA-xqw3-x93m-887x |
| Packagist | symfony/symfony | >= 7.0.0, < 7.4.23 | 7.4.23 | GHSA-xqw3-x93m-887x |
| Packagist | symfony/symfony | >= 8.0.0, < 8.1.11 | 8.1.11 | GHSA-xqw3-x93m-887x |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated December 1, 2026. Summary: Symfony: Host Placeholders Can Match the Start of the Path in Compiled URL Matchers, Bypassing Path-Based Access Control.
How severe is CVE-2026-118516?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.3 | CVSS 4.0 | 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 | Checkmarx |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-118516 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, November 9, 2026)
- EPSS
- 0.47% probability of exploitation activity in the next 30 days, percentile 42.5 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/symfony/symfony/security/advisories/GHSA-xqw3-x93m-887x third-party-advisory
- https://github.com/symfony/symfony/commit/067cde51e29f6d605de4de53322a02c6e23b5416 patch
Who found and reported it?
- Vincent Cassiau (CyberVanguard) (reporter)
- Nicolas Grekas (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- October 28, 2026
- Published
- November 4, 2026, 12:33 UTC
- CVE record updated
- November 9, 2026, 21:13 UTC by Checkmarx
- NVD
- Awaiting Analysis, last modified November 9, 2026, 22:18 UTC
- Last checked
- CVE list November 19, 2026, 07:04 UTC; NVD November 19, 2026, 07:04 UTC; KEV December 3, 2026, 22:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect symfony?
- Nov 12, 2026CVE-2026-121619 sensiolabs symfony: authentication bypass by spoofing
- Nov 6, 2026CVE-2026-123824 sensiolabs symfony: XML external entity (XXE)
- Nov 6, 2026CVE-2026-122053 sensiolabs symfony: mass assignment
- Nov 6, 2026CVE-2026-118515 sensiolabs symfony: external Control of File Name or Path
- Nov 6, 2026CVE-2026-121623 sensiolabs symfony: external Control of File Name or Path
- Nov 6, 2026CVE-2026-123792 sensiolabs symfony: denial of service through slow algorithm
- Nov 6, 2026CVE-2026-123339 sensiolabs symfony: use of Less Trusted Source
- Nov 6, 2026CVE-2026-123746 sensiolabs symfony: authentication bypass through another path
Questions about CVE-2026-118516
Is CVE-2026-118516 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 22:39 UTC. FIRST's EPSS gives it a 0.47% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of sensiolabs symfony are affected by CVE-2026-118516?
symfony/routing before 5.4.56, symfony/routing from 6.0.0 before 6.4.50, symfony/routing from 7.0.0 before 7.4.23, symfony/routing from 8.0.0 before 8.1.11, symfony/symfony before 5.4.56, symfony/symfony from 6.0.0 before 6.4.50 and 2 more, per the GitHub advisory GHSA-xqw3-x93m-887x. The tables above give every range the sources list.
Which version fixes CVE-2026-118516?
5.4.56, 6.4.50, 7.4.23 and 8.1.11, per the GitHub advisory GHSA-xqw3-x93m-887x. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-118516?
Medium (6.3, CVSS 4.0, from Checkmarx). The severity table above shows each score with its source.
Where is the official record of CVE-2026-118516?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.