CVE-2026-135802
CVE-2026-135802 — Generated URLs Can Point to a Host Chosen by the Client
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. The attacker has to make a user follow a crafted link, such as https://app.example//evil.example/public/index.php/login. framework.trusted_hosts does not help, since the host of the request is the real one. Applications are affected when their front controller is in a subdirectory and the web server sends it URIs that do not start with that directory. A .htaccess file at the root of the project that rewrites every URL to public/ does that, for instance. Applications are also affected when the web server sets SCRIPT_NAME to the path of the request. Some nginx configurations do that when they send every request to the front controller without fastcgi_split_path_info. php -S does it too, with a router script outside the document root. A request for /\evil.example/index.php then gets the base URL /\evil.example/index.php, which browsers read as a link to evil.example. The configurations recommended in the Symfony documentation are not affected. Request::getBaseUrl() now returns an empty base URL when the request URI starts with // or /\.
Published Updated Sources: NVD, Symfony (CNA), GitHub, GitHub Security Advisory
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Public exploit
exploit code published, no use observed
EPSS
n/a
FIRST has not published a score
CVSS base
Unscored
no source published a base score
Remediation
The vendor's own words where we have them.
Upgrade Symfony/http-foundation to a fixed release. Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Prioritize based on EPSS, PoC availability, and external exposure.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Symfony | symfony/http-foundation | 0 to < 5.4.56 | Vulnerable |
| Symfony | symfony/http-foundation | 6.0.0 to < 6.4.50 | Vulnerable |
| Symfony | symfony/http-foundation | 7.0.0 to < 7.4.23 | Vulnerable |
| Symfony | symfony/http-foundation | 8.0.0 to < 8.1.11 | Vulnerable |
| Symfony | symfony/symfony | 0 to < 5.4.56 | Vulnerable |
| Symfony | symfony/symfony | 6.0.0 to < 6.4.50 | Vulnerable |
| Symfony | symfony/symfony | 7.0.0 to < 7.4.23 | Vulnerable |
| Symfony | symfony/symfony | 8.0.0 to < 8.1.11 | Vulnerable |
Weakness & attack patterns
- CWE-601
- CWE-829
Inferred from the weakness class — not observed against this CVE.
- T1055Process Injection
- T1195.001Supply Chain Compromise: Software Dependencies and Development Tools
- T1505.005Server Software Component: Terminal Services DLL
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
1
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching //, /public/index.php, //evil.example/public/index.php/login, /login, //evil.example/public/index.php, //evil.example/public, //app.example//evil.example/public/index.php/login, /index.php.
- Monitor for scanner or exploit-pattern traffic after 1 public PoC repositories were reported.
Timeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Initial · CVE published
Nov 24, 2026 · NVD
Added · GHSA-x625-mp64-q79h published (unknown)
Nov 24, 2026 · GitHub Security Advisory
References
5 on the record
- github.com/symfony/symfony/commit/7f1e183847530b7bc1bfbdae63e3f0e20051594b
Exploit, Third Party Advisory
- github.com/symfony/symfony/security/advisories/GHSA-5mx8-mwrp-5693
Exploit, Third Party Advisory
- symfony.com/cve-2026-135802
Vendor Advisory
- nvd.nist.gov/vuln/detail/CVE-2026-135802
NVD
- github.com/advisories/GHSA-x625-mp64-q79h
Exploit, Third Party Advisory
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-0770 Langflow exec_globals Inclusion of Functionality from Untrusted Control Sphere Remote Code Execution VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2024-9537 ScienceLogic SL1 Unspecified VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2025-32463 Sudo Inclusion of Functionality from Untrusted Control Sphere VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2026-111357 Ivanti Connect Secure Missing Authentication for Critical Function VulnerabilityCVSS 7.0 · CISA KEV
- CVE-2021-38000 Google Chromium Intents Improper Input Validation VulnerabilityCVSS 6.1 · CISA KEV
- CVE-2012-0518 Oracle Fusion Middleware Unspecified VulnerabilityCVSS 4.7 · CISA KEV
Elsewhere on this site
- Symfonyevery CVE for this vendor
- Unclassifiedsame class
- CWE-601other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2026-135802 is Generated URLs Can Point to a Host Chosen by the Client, a unscored vulnerability affecting Symfony/http-foundation, Symfony/symfony from Symfony. The current evidence does not list it in CISA KEV, and the exploit status is: Active exploitation is not confirmed from current sources for CVE-2026-135802. Public exploit evidence is: 1 public PoC repositories reported; 0 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS null describes technical severity, while EPSS 0% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.