Skip to main content

Symfony HttpFoundation EUVDEUVD-2026-133735

| CVE-2026-135802 HIGH
URL Redirection to Untrusted Site (Open Redirect) (CWE-601)
2026-11-24 Symfony GHSA-x625-mp64-q79h
8.1
CVSS 3.1 · Vendor: Symfony
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft link with //evil.example prefix
  2. Delivery
    Victim follows link to real app
  3. Exploit
    getBaseUrl() derives attacker host
  4. Execution
    Generated form/redirect/asset URLs point to evil.example
  5. Impact
    Credentials or script loads sent to attacker host

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Redirect URL validation
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires one of these specific deployments: (1) the front controller lives in a subdirectory (e.g. public/) and the web server forwards request URIs that do not begin with that subdirectory - for example a project-root .htaccess that rewrites every URL to public/; (2) an nginx configuration that routes every request to the front controller without fastcgi_split_path_info, causing SCRIPT_NAME to equal the request path; or (3) php -S used with a router script outside the document root. In all cases the attacker must induce a victim to follow a crafted link whose path starts with // or /\ followed by the attacker's host (user interaction is mandatory). Limiting factors: the Symfony-documented/recommended configurations are explicitly NOT affected, so default-and-recommended setups are safe; no authentication or privileges are needed by the attacker, but framework.trusted_hosts does NOT mitigate because the request host remains the legitimate one. The only complete fix stated by the vendor is upgrading to the fixed versions (5.4.56, 6.4.50, 7.4.23, 8.1.11 / forward-port to 8.2), where getBaseUrl() now returns an empty base URL for URIs starting with // or /\.

Impact

No vendor CVSS was published (score and vector are N/A in the input), so severity must be reasoned from the mechanism. This is an open redirect / URL-spoofing flaw (CWE-601, with CWE-829 noted in the GHSA advisory) in Symfony's HttpFoundation Request::getBaseUrl(): a request URI beginning with // or /\ causes the computed base URL and base path to begin with an attacker-chosen host, so URLs produced by path(), form actions, redirectToRoute(), and relative asset() references point at that host. Real-world risk is strongly gated by deployment: the input's Decision label is 'this_month' (not act_now/emergency), there is no CISA KEV listing and no EPSS score supplied, and no public exploit is identified. The references are a vendor advisory and the fix commit - there is no PoC or working-exploit reference, so this should not be treated as actively exploited. The honest conclusion is a moderate, configuration-dependent, phishing/credential-theft risk rather than a drop-everything emergency: it is only exploitable on a specific class of misconfigurations (front controller in a subdirectory fed URIs that do not start with that directory, certain nginx setups without fastcgi_split_path_info, or php -S with a router outside the document root), and the Symfony-documented configurations are explicitly not affected. It also requires user interaction (the victim must follow a crafted link), and framework.trusted_hosts provides no protection because the request host is genuine. Treat as a real but second-tier priority consistent with the 'this_month' decision signal; because no CVSS vector was provided by the vendor, any severity figure elsewhere should be verified rather than taken as confirmed.

Exploit ScenarioDerived

An attacker sends a victim a link to the legitimate application whose path begins with a doubled slash followed by an attacker host, e.g. https://app.example//evil.example/public/index.php/login. On an affected deployment the page renders with a base URL rooted at evil.example, so the login form's action submits the victim's credentials to evil.example and relative assets load attacker-controlled scripts. No public exploit is identified at time of analysis; the attack is simple to reproduce by hand against a vulnerable configuration but still requires the user to follow the crafted link (UI:R).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 24, 2026

Client-controlled base URL generation in Symfony's HttpFoundation component (Request::getBaseUrl()) lets a crafted request URI beginning with // or /\ make every URL the framework generates point at an attacker-chosen host. Applications are affected only under specific deployments: a front controller in a subdirectory receiving URIs that do not begin with that subdirectory (e.g. a project-root .htaccess rewriting to public/), an nginx setup that sets SCRIPT_NAME to the request path because fastcgi_split_path_info is not used, or php -S with a router script outside the document root. The attacker must convince a victim to follow a crafted link (user interaction is required, per the assessed CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N), after which generated links and form actions can post credentials to the attacker host, redirectToRoute() can redirect off-site, and asset() can load attacker scripts; framework.trusted_hosts does not help because the request host stays legitimate. No public exploit code is identified at time of analysis, the Symfony-documented configurations are explicitly unaffected, and vendor patches exist for all supported branches.

RemediationAI

Upgrade to the fixed versions: symfony/http-foundation 5.4.56, 6.4.50, 7.4.23, or 8.1.11 (the fix was forward-ported to 8.2), with the corresponding symfony/symfony releases at 5.4.56 and 6.4.50; the patch is commit 7f1e183847530b7bc1bfbdae63e3f0e20051594b, in which getBaseUrl() returns an empty base URL whenever the request URI starts with // or /\. The vendor states that upgrading is the complete fix; applications on the Symfony-documented web-server configurations are not affected and need no workaround. If upgrading is not immediately possible, verify whether the deployment matches one of the affected patterns: remove a project-root .htaccess that rewrites every URL into public/ (serve the public/ directory as the document root instead), add fastcgi_split_path_info to nginx front-controller locations so SCRIPT_NAME is not the raw request path, and avoid php -S with a router script outside the document root. Note that framework.trusted_hosts does not mitigate this issue, because the request host remains the legitimate one.

Affected VersionsENISA

symfony/http-foundation 6.0.0 <6.4.50
symfony/http-foundation 7.0.0 <7.4.23
symfony/symfony 0 <5.4.56
symfony/symfony 6.0.0 <6.4.50
symfony/http-foundation 0 <5.4.56
symfony/http-foundation 8.0.0 <8.1.11
symfony/symfony 7.0.0 <7.4.23
symfony/symfony 8.0.0 <8.1.11

Affected Packages

euvd symfony_http_foundation fix: 5.4.56, 6.4.50, 7.4.23, 8.1.11
euvd symfony_symfony fix: 5.4.56, 6.4.50, 7.4.23, 8.1.11

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

HttpFoundation is the PHP request/response abstraction underpinning the Symfony framework and many standalone PHP projects. prepareBaseUrl() derives the base URL from the request URI and SCRIPT_NAME so that path() and asset() can build absolute paths. When the script name is not found at the very start of the URI, the component searches further into the path to support rewrite-everything-to-front-controller setups; everything before the match was retained as the base URL, and that prefix is attacker-controlled. Because a URI starting with // or /\ is parsed by browsers as a scheme-relative reference whose first segment is a host, the derived base URL also starts with a host, silently repointing every generated URL (CWE-601, Open Redirect; the advisory also tags CWE-829). The upstream fix in commit 7f1e183 simply returns an empty base URL when the request URI starts with // or /\, with regression tests asserting empty getBaseUrl()/getBasePath() for both the subdirectory-front-controller and SCRIPT_NAME-equals-request-path scenarios. The practical trigger depends entirely on deployment: recommended Symfony web-server configurations never feed such URIs to the front controller, whereas the project-root .htaccess pattern, nginx without fastcgi_split_path_info, and php -S with an external router script do.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Symfony) PRIMARY 8.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
vuln.today AI 6.1 MEDIUM

Remote, no privileges, but the victim must follow a crafted link (UI:R) and impact falls on the browser/user across a scope change (S:C); credential disclosure and attacker-script loading give C:L/I:L, A:N.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Symfony).

CVSS VectorVendor: Symfony

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

2
CVSS changed
Nov 25, 2026 - 20:22 NVD
8.1 (HIGH)
CVE Published
Nov 24, 2026 - 08:55 cve.org
MEDIUM

DescriptionCVE.org

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 /\.

Technical POC Analysis

CWE-601 (URL Redirection to Untrusted Site); the advisory also tags CWE-829.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
High
symfony/http-foundation is a core component in very many PHP applications
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
High

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy