Skip to content

Symfony

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

CVE-2026-133745Published 25 Nov 2026, 10:00 UTC

Real-world risk

1.8/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

5.3

scored by the vendor (CNA), CVSS 4.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from 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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
SymfonyWidespread>= 5.4.44, < 5.4.57; >= 6.4.12, < 6.4.51; >= 7.1.5, < 7.4.24; >= 8.0.0, < 8.1.125.4.57, 6.4.51, 7.4.24, 8.1.12

What to do

Update to a fixed version: 5.4.57, 6.4.51, 7.4.24, 8.1.12.

Why this score

FactorValueEvidence×
ImpactMinorReflected XSS, CSRF with low effect, open redirect, minor leakFrom the CVSS vector0.30
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionRoutineA normal action: open a file, visit a page, click a linkFrom the CVSS vector0.70
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 1.0% chance of exploitation in 30 days (percentile 65), as of 2026-12-03.

The arithmetic
  1. Prerequisites multiplied together0.700
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.3 × prerequisites 0.7 × threat 0.851.785
  4. Rounded to one decimal between 0.1 and 101.8

How the score works

Exploitation and evidence timeline

  1. 25 Nov 2026 Published
  2. 3 Dec 2026 Risk 1.8 (cvss fallback)

Weakness

CWE-601

References

Get alerts for Symfony

Free email or text alerts when a vulnerability in Symfony reaches risk 8 or higher. Nothing else.

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