Skip to main content

Symfony Security CVE-2026-134790

| EUVDEUVD-2026-135188 MEDIUM
URL Redirection to Untrusted Site (Open Redirect) (CWE-601)
2026-11-25 Symfony
5.3
CVSS 4.0 · Vendor: Symfony
View

Attack ChainAIDerived

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

  1. Access
    Craft login link with malicious _target_path
  2. Exploit
    Send link to targeted authenticated user
  3. Execution
    Host check bypassed at '?'/'#'/'\\' delimiter
  4. Impact
    Browser redirected post-login to attacker phishing 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 a specific, non-default configuration: framework.session.cookie_domain must be set (which also whitelists its subdomains), and the application must rely on form_login's default success/failure handlers that honor the request's _target_path or _failure_path. The attacker crafts a target URL whose host portion is followed by '?', '#' or '\\' before the allowed domain (e.g. https://evil.test?.example.com), exploiting that the pre-patch check ended the host only at '/'. Limiting factors that reduce real-world risk: applications that do not set cookie_domain are not affected at all; successful attack needs a victim to actually follow the attacker-supplied login link (UI:P); and impact is confined to redirecting the browser to an attacker site (phishing/credential re-prompt), with no direct compromise of the application or server. The secure-domain variant of the check additionally applies only when the request scheme is https.

Impact

This is a genuine but modest-priority issue, not a high-CVSS-but-low-real-risk false alarm nor an emergency. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N, score 5.3 Medium) is internally consistent with an open redirect (CWE-601): network-reachable, no authentication needed to craft the lure, but passive user interaction (UI:P) is required and there is no impact on the vulnerable system itself (VC/VI/VA:N) - only low confidentiality/integrity impact on a subsequent system, i.e. the victim's browser session being sent to an attacker host. No EPSS score and no KEV status were supplied in the input, and no exploit-code reference is listed, so there is no signal of active or widespread exploitation; the vuln.today Decision label is 'this_month', which aligns with medium severity rather than act_now/emergency. The most important caveat is that exploitation is gated on a non-default configuration: applications are only exposed when framework.session.cookie_domain is set. The public Symfony advisory discloses the exact bypass payload (e.g. https://evil.test?.example.com), which lowers the practical bar even though no packaged PoC is referenced. Net: a real defense-in-depth fix worth patching on a normal cycle, with real-world risk bounded by the required configuration and the need to trick a user into following a crafted login link.

Exploit ScenarioDerived

On a Symfony app that sets framework.session.cookie_domain (e.g. .example.com) and uses form_login's default success/failure handlers, an attacker sends a victim a login link whose _target_path is https://evil.test?.example.com. The host-check reads only up to the first '/', so the '?' is not treated as a host terminator and the attacker domain passes validation, but the browser ends the host at '?' and navigates to evil.test - typically right after a successful login, where the attacker page can convincingly ask the user to re-enter their password. The Symfony advisory publicly discloses this exact bypass payload, though no packaged exploit tool is referenced.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.5% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 25, 2026

Open redirect in Symfony's Security HTTP component (symfony/security-http) allows an attacker-supplied login link to send a victim to an arbitrary external site immediately after a successful login. Only applications that set framework.session.cookie_domain are exposed, because that setting also whitelists the domain's subdomains; a target such as https://evil.test?.example.com passes the pre-patch host check while browsers navigate to evil.test. The flaw is an incomplete fix for CVE-2017-16652, is rated 5.3 (CVSS 4.0) with UI:P, requires the victim to follow the crafted link, and results in a phishing/credential re-prompt rather than application or server compromise; there is no public exploit identified at time of analysis and no confirmed active exploitation (CISA KEV).

RemediationAI

Vendor-released patch: upgrade symfony/security-http and symfony/symfony to 5.4.57, 6.4.51, 7.4.24 or 8.1.12 depending on your branch; the reference fix commit for the 5.4 branch is https://github.com/symfony/symfony/commit/b311687afd165a4f62dcd2dff4632be7eb1db844 and the advisories are https://symfony.com/cve-2026-134790 and https://github.com/symfony/symfony/security/advisories/GHSA-xf2q-gfhq-mv2q. If an immediate upgrade is not possible, the most direct reduction of exposure is to unset framework.session.cookie_domain, since applications without that setting are not affected at all - the trade-off is that session cookies no longer span subdomains, which can log users out or break shared-session setups across subdomains. Applications that must keep cookie_domain set should also stop relying on the default form_login handlers that redirect to attacker-influenced _target_path/_failure_path values and instead redirect to fixed, application-controlled routes, accepting that users lose the post-login return-to-page behavior. Because exploitation requires a victim to follow a crafted login link, treat login links arriving by email or chat as untrusted until patched; there is no separate vendor-provided workaround beyond the upgrade.

Affected VersionsENISA

symfony/symfony 8.0.0 <8.1.12
symfony/symfony 7.0.0 <7.4.24
symfony/security-http 0 <5.4.57
symfony/security-http 7.0.0 <7.4.24
symfony/security-http 8.0.0 <8.1.12
symfony/symfony 0 <5.4.57
symfony/symfony 6.0.0 <6.4.51
symfony/security-http 6.0.0 <6.4.51

Affected Packages

euvd symfony_security_http fix: 5.4.57, 6.4.51, 7.4.24, 8.1.12
euvd symfony_symfony fix: 5.4.57, 6.4.51, 7.4.24, 8.1.12

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

The issue lives in HttpUtils::createRedirectResponse() in the Symfony Security HTTP component, the helper that decides whether a login redirect target is trusted before issuing a redirect (CWE-601, URL Redirection to Untrusted Site). The original fix for CVE-2017-16652 anchored redirects to the request host and, when a cookie domain is configured, additionally permitted its subdomains via a regular expression (domainRegexp, plus a secureDomainRegexp variant that applies only when the request scheme is https). That check extracted the host from the candidate URL using the pattern #^https?:[/\\]{2,}+[^/]++#i, which - unlike browsers - stopped the host only at a forward slash. Browsers also terminate the authority component at a backslash, a question mark and a hash fragment, so a URL like https://evil.test?.example.com produced a host string that still matched the .example.com pattern while the browser actually resolved evil.test. The upstream commit b311687 changes the regex to #^https?:[/\\]{2,}+[^/\\?\#]*+\\?#i so the extracted host ends where browsers end it, and deliberately lets a trailing backslash fail the comparison because other URL parsers do not treat '\' as a host terminator; regression tests were added covering '?', '#' and backslash variants plus userinfo-style tricks such as https://www.example.com@pirate.net. Exposure requires form_login's default success and failure handlers, which redirect to the request's _target_path or _failure_path.

Know when Open Redirect 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 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
vuln.today AI 6.1 MEDIUM

Remote, unauthenticated crafting of the lure (AV:N/PR:N) but a victim must click the link (UI:R); the redirect crosses into another security authority (S:C) with only low confidentiality/integrity impact on the victim and none on the server.

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:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Symfony).

CVSS VectorVendor: Symfony

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

DescriptionCVE.org

The fix for CVE-2017-16652 restricts the redirects of HttpUtils::createRedirectResponse() to the host of the request. When framework.session.cookie_domain is set, it also allows the subdomains of that domain. To check a target, it read the host of the URL up to the first "/". But browsers also end the host at "\", "?" and "#". So with the cookie domain .example.com, a target like https://evil.test?.example.com passed the check, and the browser went to evil.test.

Applications are exposed when framework.session.cookie_domain is set. The default success and failure handlers of form_login redirect to the _target_path or _failure_path of the request. A login link can then send the user to another site right after a successful login, for example to ask for the password again.

HttpUtils now ends the host of a target where browsers do, before checking it against the allowed domains.

Threat Intelligence Overview

EPSS Score
0.5%
Top 62% exploitable
Prevalence
High
Symfony is one of the most widely deployed PHP web frameworks
Data Quality
6 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
CVE-2017-1000117 HIGH POC
8.8 Oct 05

A malicious third-party can give a crafted "ssh://..." URL to an unsuspecting victim, and an attempt to visit the URL ca

CVE-2024-52875 HIGH POC
8.8 Jan 31

GFI Kerio Control versions 9.2.5 through 9.4.5 contain an HTTP response splitting vulnerability in the dest parameter of

CVE-2016-5385 HIGH POC
8.1 Jul 19

PHP through 7.0.8 does not attempt to address RFC 3875 section 4.1.18 namespace conflicts and therefore does not protect

CVE-2013-2248 MEDIUM POC
5.8 Jul 20

Multiple open redirect vulnerabilities in Apache Struts 2.0.0 through 2.3.15 allow remote attackers to redirect users to

CVE-2018-11784 MEDIUM POC
4.3 Oct 04

When the default servlet in Apache Tomcat versions 9.0.0.M1 to 9.0.11, 8.5.0 to 8.5.33 and 7.0.23 to 7.0.90 returned a r

CVE-2022-45402 MEDIUM
6.1 Nov 15

In Apache Airflow versions prior to 2.4.3, there was an open redirect in the webserver's `/login` endpoint. Rated medium

CVE-2012-6499 MEDIUM POC
5.8 Jan 12

Open redirect vulnerability in age-verification.php in the Age Verification plugin 0.4 and earlier for WordPress allows

CVE-2015-2863 MEDIUM POC
4.3 Jul 20

Open redirect vulnerability in Kaseya Virtual System Administrator (VSA) 7.x before 7.0.0.29, 8.x before 8.0.0.18, 9.0 b

CVE-2017-3528 MEDIUM POC
5.4 Apr 24

Vulnerability in the Oracle Applications Framework component of Oracle E-Business Suite (subcomponent: Popup windows (li

CVE-2012-0518 MEDIUM
4.7 Oct 16

Unspecified vulnerability in the Oracle Application Server Single Sign-On component in Oracle Fusion Middleware 10.1.4.3

CVE-2024-21641 MEDIUM POC
6.5 Jan 05

Flarum is open source discussion platform software. Rated medium severity (CVSS 6.5), this vulnerability is remotely exp

CVE-2015-5354 MEDIUM POC
5.8 Jul 01

Open redirect vulnerability in Novius OS 5.0.1 (Elche) allows remote attackers to redirect users to arbitrary web sites

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