Skip to main content
VulnerabilityPublished

CVE-2026-135802: When Request::getBaseUrl() does not find the script name at the start of the request URI, it looks

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-135802· High

Not known to be exploited · fixed in 8.1.11 : patch symfony/http-foundation soon.

Data as of 24 Nov 2026, 10:10 UTC

Severity
High

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

  1. Disclosed: evidence found.

    CVE published 24 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Symfonysymfony/http-foundationAffected
  • >=8.0.0 <8.1.11
Fixed in
  • 8.1.11
Symfonysymfony/http-foundationAffected
  • >=7.0.0 <7.4.23
Fixed in
  • 7.4.23
Symfonysymfony/http-foundationAffected
  • >=6.0.0 <6.4.50
Fixed in
  • 6.4.50
Symfonysymfony/http-foundationAffected
  • <5.4.56
Fixed in
  • 5.4.56
Symfonysymfony/symfonyAffected
  • >=8.0.0 <8.1.11
Fixed in
  • 8.1.11
Symfonysymfony/symfonyAffected
  • >=7.0.0 <7.4.23
Fixed in
  • 7.4.23

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.

References

Community reviews

Loading reviews…