Packagist · Servers and applications
CVE-2026-135802
Generated URLs Can Point to a Host Chosen by the Client
- Severity
- Medium
- Published
- 4 Nov 2026
- Last changed
- 24 Nov 2026
- Added to UpHeron
- 24 Nov 2026
- Fixed in
- 5.4.56, 6.4.50, 7.4.23, 8.1.11
- Exploit chance
- 0.2% in the next 30 daysHigher than 11% of CVEs. EPSS by FIRST, 24 Nov 2026
- Weakness
- Open redirect (CWE-601)CWE-829
- Also known as
- GHSA-5mx8-mwrp-5693
- Sources
- CVE Program, Project advisories (GitHub)
Description
When Request::getBaseUrl() does not find the script name at the start of the request URI, it looks for it further into the path. This supports web servers that rewrite every URL to a front controller in a subdirectory. The base URL then kept everything before the script name, and the client chooses that part. A request URI starting with // or /\ made the base URL start with a host.
With SCRIPT_NAME=/public/index.php, a request for //evil.example/public/index.php/login is routed to /login, with the base URL //evil.example/public/index.php and the base path //evil.example/public. The URLs generated for that page then point to evil.example:
- links built with path() and the actions of forms, so a login form sends the credentials of the user to evil.example;
- redirects to generated URLs, such as the ones of redirectToRoute();
- assets referenced with a relative path through asset(), so the page can load scripts from evil.example.
Affected software
| Software | Affected versions |
|---|---|
SymfonyServers and applications · github:symfony/symfony |
|
symfony/http-foundationPackagist · osv:Packagist:symfony/http-foundation |
|
SymfonyPackagist · osv:Packagist:symfony/symfony |
|
About Symfony
PHP web application framework for MVC applications
- Developers who used it in the past year
- 4%Stack Overflow Developer Survey 2025, 2025
- Monthly downloads (Packagist)
- 315,437Packagist, 22 Nov 2026
- Total downloads (Packagist)
- 88,509,675Packagist, 22 Nov 2026
- GitHub stars
- 31,457GitHub, 22 Nov 2026
- Forks
- 9,960GitHub, 22 Nov 2026
- Latest release
- v8.2.0-BETA2GitHub, 22 Nov 2026
- Released
- 13 Nov 2026GitHub
- Developer
- SensioLabsWikidata
- License
- MIT LicenseWikidata
- Written in
- PHPWikidata
- First released
- 22 Oct 2005Wikidata
- First published on GitHub
- 4 Jan 2010GitHub
Release lines
| Release | Latest | Security fixes |
|---|---|---|
| 8.1 | 8.1.11 | Until 31 Jan 2027 |
| 8.0 | 8.0.16 | Ended 31 Jul 2026 |
| 7.4 (LTS)LTS | 7.4.23 | Until 30 Nov 2029 |
| 7.3 | 7.3.11 | Ended 31 Jan 2026 |
| 7.2 | 7.2.9 | Ended 31 Jul 2025 |
| 7.1 | 7.1.11 | Ended 31 Jan 2025 |
From endoflife.date.
Vulnerabilities in Symfony
- In our list
- 72
- Published in the last 12 months
- 54
- Critical, last 12 months
- 0
- High, last 12 months
- 16
- Known exploited
- 0
- CVE-2026-123125Ip Constraint public/private Modes Accept IPv4-Mapped and IPv4-Compatible IPv6 Addresses: SSRF Filter BypassMedium 6.3 4 Nov 2026
- CVE-2026-118517HtmlSanitizer allowLinkHosts() / allowMediaHosts() Bypass via URLs Without a Well-Formed Authority: Incomplete Fix for CVE-2026-45066Low 2.3 4 Nov 2026
- CVE-2026-121373HtmlSanitizer MetaRefreshAttributeSanitizer Matches Only a Narrow Subset of the Browser Refresh Grammar: Incomplete Fix for CVE-2026-48761Medium 5.3 4 Nov 2026
- CVE-2026-121949HtmlSanitizer Does Not URL-Sanitize srcset and imagesrcset: Media Scheme and Host Allow-List BypassLow 2.3 4 Nov 2026
- CVE-2026-123824XXE (Local File Read) in Config XmlUtils::parse() via validateOnParse = trueLow 2.3 4 Nov 2026
- CVE-2026-122053ObjectNormalizer Dotted-Key Property-Path Traversal Bypasses #[Ignore] on Nested ObjectsMedium 6.9 4 Nov 2026
About symfony/http-foundation
- Monthly downloads (Packagist)
- 36,105,486Packagist, 24 Nov 2026
- Total downloads (Packagist)
- 1,046,409,325Packagist, 24 Nov 2026
Vulnerabilities in symfony/http-foundation
- In our list
- 5
- Published in the last 12 months
- 5
- Critical, last 12 months
- 0
- High, last 12 months
- 1
- Known exploited
- 0
- CVE-2026-118514HEAD Requests Bypass the methods Option of security.access_control Rules and Firewalls: Incomplete Fix for CVE-2026-45075Medium 6.3 4 Nov 2026
- CVE-2026-121619The "private_ranges" Trusted Proxies Shortcut Trusts Clients Presenting an IPv4-Mapped, 6to4, Teredo or NAT64 Address as Reverse ProxiesMedium 6.3 4 Nov 2026
- CVE-2026-135801Path Rules Enforced in Front of PHP Can Be Bypassed by Appending the Path to the Script NameLow 4 Nov 2026
- CVE-2026-108082Symfony: ReDoS in HeaderUtils::split() Reachable Through the Cache-Control Request HeaderHigh 8.7 15 Oct 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-135802
- GitHub Advisory Database https://github.com/advisories/GHSA-5mx8-mwrp-5693
- github.com https://github.com/symfony/symfony/security/advisories/GHSA-5mx8-mwrp-5693