All vulnerabilities

Packagist · Servers and applications

CVE-2026-133745

Trailing-Slash and Scheme Redirects Send Paths Starting With // to Another Host

Severity
Medium 5.3
Published
25 Nov 2026
Last changed
25 Nov 2026
Added to UpHeron
25 Nov 2026
Fixed in
5.4.57, 6.4.51, 7.4.24, 8.1.12
Exploit chance
0.5% in the next 30 daysHigher than 37% of CVEs. EPSS by FIRST, 25 Nov 2026
Weakness
Open redirect (CWE-601)
Attack
Over the network · No login needed · Needs someone to view a page or file
CVSS vector
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
Also known as
GHSA-q2qh-q4p8-qcmj
Sources
CVE Program, Project advisories (GitHub)

Description

The router redirects a request to the same URL with or without its trailing slash, or with the scheme that a route requires. To do so, the matcher returns RedirectController::urlRedirectAction() with the path info of the request as path. Since Symfony 5.4.44, 6.4.12 and 7.1.5, urlRedirectAction() turns a path that starts with // into ://..., so that protocol-relative targets configured in routes work. The path info of a request starts with // when its URI does. So these redirects send the browser to the host written at the start of the path:

This affects routes whose path starts with a placeholder that accepts /, like /{path}/edit with the .+ requirement. The trailing-slash redirect applies to all of them, and the scheme redirect to the ones that require a scheme. A front controller in a subdirectory doesn't prevent it.

From symfony/symfony's security advisory.

Affected software

SoftwareAffected versions
SymfonyServers and applications · github:symfony/symfony
  • From 5.4.44 before 5.4.57
  • From 6.4.12 before 6.4.51
  • From 7.1.5 before 7.4.24
  • From 8 before 8.1.12
symfony/framework-bundlePackagist · osv:Packagist:symfony/framework-bundle
  • From 5.4.44 before 5.4.57
  • From 6.4.12 before 6.4.51
  • From 7.1.5 before 7.4.24
  • From 8.0.0 before 8.1.12
SymfonyPackagist · osv:Packagist:symfony/symfony
  • From 5.4.44 before 5.4.57
  • From 6.4.12 before 6.4.51
  • From 7.1.5 before 7.4.24
  • From 8.0.0 before 8.1.12

About Symfony

PHP web application framework for MVC applications

From Wikidata, CC0 1.0.
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

ReleaseLatestSecurity fixes
8.18.1.11Until 31 Jan 2027
8.08.0.16Ended 31 Jul 2026
7.4 (LTS)LTS7.4.23Until 30 Nov 2029
7.37.3.11Ended 31 Jan 2026
7.27.2.9Ended 31 Jul 2025
7.17.1.11Ended 31 Jan 2025

From endoflife.date.

About symfony/framework-bundle

Monthly downloads (Packagist)
10,323,900Packagist, 24 Nov 2026
Total downloads (Packagist)
288,432,758Packagist, 24 Nov 2026

References