CVE-2026-135802: Symfony · When Request::getBaseUrl() does not find the script name at the start of the request URI
Affects symfonySource GCVE Database
Not known to be exploited · CVSS 8.1 High.
Data as of 28 Nov 2026, 10:31 UTC
Thin evidence
One scorer or none| CISA-ADP | CVSS 3.1 | 8.1 |
|---|
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:NExploitation 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 28 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10symfonypkg:deb/ubuntu/symfony?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSsymfonypkg:deb/ubuntu/symfony?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu Pro 24.04 LTSsymfonypkg:deb/ubuntu/symfony?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in– |
Ubuntu Pro 22.04 LTSsymfonypkg:deb/ubuntu/symfony?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 20.04 LTSsymfonypkg:deb/ubuntu/symfony?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in– |
Ubuntu Pro 18.04 LTSsymfonypkg:deb/ubuntu/symfony?arch=source&distro=esm-apps/bionicOther threats | 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
Upgrade to Symfony versions where Request::getBaseUrl() returns an empty base URL for request URIs starting with // or /\. Review and adjust web server configurations to avoid rewriting URLs in a way that causes SCRIPT_NAME to be set improperly or that sends URIs not starting with the front controller directory. Use the recommended Symfony web server configurations as documented. No other immediate actions are indicated.
Description
CVE-2026-135802 is a vulnerability in Symfony's Request::getBaseUrl() method where the base URL calculation can be manipulated if the request URI starts with // or /\, causing URLs generated by the application to point to an attacker-controlled host. This affects applications with front controllers in subdirectories and certain web server configurations that rewrite URLs or set SCRIPT_NAME improperly. The issue can lead to credential theft and loading of malicious assets by tricking users into following crafted links. The vulnerability has a high severity with a CVSS score of 8.1.
References
- ubuntu.com/security/CVE-2026-135802 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-135802 (opens in a new tab)
- github.com/symfony/symfony/commit/7f1e183847530b7bc1bfbdae63e3f0e20051594b (opens in a new tab)
- github.com/symfony/symfony/security/advisories/GHSA-5mx8-mwrp-5693 (opens in a new tab)
- symfony.com/cve-2026-135802 (opens in a new tab)