Open Redirect Affecting symfony/routing package, versions <5.4.57>=6.0.0, <6.4.51>=7.0.0, <7.4.24>=8.0.0, <8.1.12


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.84% (56th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Open Redirect vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-SYMFONYROUTING-23188898
  • published1 Dec 2026
  • disclosed25 Nov 2026
  • creditUnknown

Introduced: 25 Nov 2026

NewCVE-2026-133746  (opens in a new tab)
CWE-601  (opens in a new tab)

How to fix?

Upgrade symfony/routing to version 5.4.57, 6.4.51, 7.4.24, 8.1.12 or higher.

Overview

Affected versions of this package are vulnerable to Open Redirect via UrlGenerator in the doGenerate method, which can produce protocol-relative URLs (starting with //) that browsers interpret as pointing to another host. When framework.router.strict_requirements is null (the default in the prod environment set by the routing recipe), the parameter value check introduced by the prior CVE-2026-45065 fix does not run, allowing a first placeholder whose value begins with / to yield a URL such as //evil.com/blog/rss.xml. Additionally, route requirements that accept / (such as .+) expose the same issue in every environment. An attacker can trigger this by supplying untrusted values to path() or url(), for example via query string parameters passed through to those functions, or via RedirectController::redirectAction() with keepQueryParams: true when the target route has a placeholder the redirecting route does not define.

CVSS Base Scores

version 4.0
version 3.1