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

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: Passive; Confidentiality impact: None; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: Low; Integrity impact on other systems: Low; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.03% (percentile 63, 2026-11-29)
- **CWE:** CWE-601
- **Published:** 2026-11-25T10:00:05.781Z
- **Modified:** 2026-11-25T10:17:11.543Z

## Who should check

- Anyone running symfony/framework-bundle \>= 5.4.44, \< 5.4.57; \>= 6.4.12, \< 6.4.51; \>= 7.1.5, \< 7.4.24; \>= 8.0.0, \< 8.1.12
- Anyone running symfony/symfony \>= 5.4.44, \< 5.4.57; \>= 6.4.12, \< 6.4.51; \>= 7.1.5, \< 7.4.24; \>= 8.0.0, \< 8.1.12

## 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 \<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.

## Affected and fixed versions

- symfony/framework-bundle: \>= 5.4.44, \< 5.4.57; \>= 6.4.12, \< 6.4.51; \>= 7.1.5, \< 7.4.24; \>= 8.0.0, \< 8.1.12 (cvelist)
- symfony/symfony: \>= 5.4.44, \< 5.4.57; \>= 6.4.12, \< 6.4.51; \>= 7.1.5, \< 7.4.24; \>= 8.0.0, \< 8.1.12 (cvelist)

## Technologies

Symfony

## Mitigation

- Upgrade symfony/framework-bundle to 8.1.12 or later.
- Upgrade symfony/symfony to 8.1.12 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-133745. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-133745.md
Affected: symfony/framework-bundle >= 5.4.44, < 5.4.57; >= 6.4.12, < 6.4.51; >= 7.1.5, < 7.4.24; >= 8.0.0, < 8.1.12; symfony/symfony >= 5.4.44, < 5.4.57; >= 6.4.12, < 6.4.51; >= 7.1.5, < 7.4.24; >= 8.0.0, < 8.1.12
Fixed in: symfony/framework-bundle 5.4.57, symfony/framework-bundle 6.4.51, symfony/framework-bundle 7.4.24, symfony/framework-bundle 8.1.12, symfony/symfony 5.4.57, symfony/symfony 6.4.51, symfony/symfony 7.4.24, symfony/symfony 8.1.12

Steps:
1. Search this machine and project for symfony/framework-bundle, symfony/symfony: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-133745 being exploited?

There is no confirmed exploitation: CVE-2026-133745 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.03% chance of exploitation in the next 30 days (as of 2026-11-29).

### How serious is CVE-2026-133745?

Medium: CVSS 5.3 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-133745?

symfony/framework-bundle \>= 5.4.44, \< 5.4.57; \>= 6.4.12, \< 6.4.51; \>= 7.1.5, \< 7.4.24; \>= 8.0.0, \< 8.1.12; symfony/symfony \>= 5.4.44, \< 5.4.57; \>= 6.4.12, \< 6.4.51; \>= 7.1.5, \< 7.4.24; \>= 8.0.0, \< 8.1.12.

### Is there a fix for CVE-2026-133745?

Yes. Fixed in symfony/framework-bundle 5.4.57, symfony/framework-bundle 6.4.51, symfony/framework-bundle 7.4.24, symfony/framework-bundle 8.1.12, symfony/symfony 5.4.57, symfony/symfony 6.4.51, symfony/symfony 7.4.24, symfony/symfony 8.1.12. Upgrade symfony/framework-bundle to 8.1.12 or later. Upgrade symfony/symfony to 8.1.12 or later.

### How do I check if I'm affected by CVE-2026-133745?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://symfony.com/cve-2026-133745>
- vendor: <https://github.com/symfony/symfony/security/advisories/GHSA-q2qh-q4p8-qcmj>
- patch: <https://github.com/symfony/symfony/commit/f2efcbcb236cf18a4efa71581c20edbe03c7ef6b>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-133745>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-133745> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-133745>
