CVEfocus › CVE database › CVE-2026-133745

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

CVSS 5.3 MediumEPSS 0.5% (higher than 38% of CVEs)Published 2026-11-25Updated 2026-11-25Assigner: Symfony

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 <scheme>://..., 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: GET https://app.example//evil.example/edit/ => 301 Location: https://evil.example/edit 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. The matcher now encodes the slash or backslash that follows the leading slash of the path it redirects to, as %2F or %5C. It also does so when tabs or newlines come in between. The target route still matches it, and protocol-relative targets configured in routes keep working. The matchers of the Routing component encode it too before calling RedirectableUrlMatcherInterface::redirect(), so that other implementations of this method get the encoded path as well.

CWE-601

What to do

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

6Fix pending
1Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10symfonyFix pendingUBUNTU-CVE-2026-133745
Ubuntu 26.04symfonyUnder investigationUBUNTU-CVE-2026-133745
Ubuntu 24.04symfonyFix pendingUBUNTU-CVE-2026-133745
Ubuntu 22.04symfonyFix pendingUBUNTU-CVE-2026-133745
Ubuntu 20.04symfonyFix pendingUBUNTU-CVE-2026-133745
Ubuntu 18.04symfonyFix pendingUBUNTU-CVE-2026-133745
Ubuntu 16.04symfonyFix pendingUBUNTU-CVE-2026-133745

What the vendor says

As published in the CVE record by Symfony, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.