CVE-2026-135802: When Request::getBaseUrl() does not find the script name at the start of the request URI, it looks
Source GCVE Database
Not known to be exploited · fixed in 8.1.11 : patch symfony/http-foundation soon.
Data as of 24 Nov 2026, 10:10 UTC
Rated High by Threat Radar's AI analysis · CVSS not yet scored by NVD
Thin evidence
One scorer or none- Patch
- Available – fixed in 8.1.11, 7.4.23, 6.4.50 +1
Exploitation evidence
Disclosed: evidence found.
CVE published 24 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade symfony/http-foundation and symfony/symfony to 8.1.11, 7.4.23, 6.4.50 or 5.4.56.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Symfonysymfony/http-foundation | Affected
| Fixed in
|
| Symfonysymfony/http-foundation | Affected
| Fixed in
|
| Symfonysymfony/http-foundation | Affected
| Fixed in
|
| Symfonysymfony/http-foundation | Affected
| Fixed in
|
| Symfonysymfony/symfony | Affected
| Fixed in
|
| Symfonysymfony/symfony | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
The vulnerability is mitigated by the updated Request::getBaseUrl() behavior that returns an empty base URL when the request URI starts with // or /\. Users should ensure their applications use this updated behavior. Additionally, following the Symfony documentation's recommended web server configurations prevents exposure to this issue. No other specific mitigations are indicated.
Description
A vulnerability in the Request::getBaseUrl() method causes it to incorrectly parse the base URL when the request URI starts with // or /\, allowing attackers to craft URLs that cause generated links, redirects, and asset references to point to an attacker-controlled host. This affects applications whose front controller is in a subdirectory and whose web server rewrites URLs in a way that the request URI does not start with that subdirectory. The issue can lead to user credentials being sent to malicious hosts and loading of attacker-controlled scripts. The vulnerability is mitigated by the updated behavior where getBaseUrl() returns an empty base URL for such URIs. Recommended Symfony configurations are not affected.