{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-133745",
        "assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
        "state": "PUBLISHED",
        "assignerShortName": "Symfony",
        "dateReserved": "2026-11-20T14:01:43.157Z",
        "datePublished": "2026-11-25T10:00:05.781Z",
        "dateUpdated": "2026-12-01T16:50:30.426Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
                "shortName": "Symfony",
                "dateUpdated": "2026-11-25T10:08:08.905Z"
            },
            "title": "Trailing-Slash and Scheme Redirects Send Paths Starting With // to Another Host",
            "datePublic": "2026-11-25T09:35:56.000Z",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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:\n\nGET https://app.example//evil.example/edit/  =>  301 Location: https://evil.example/edit\n\nThis 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.\n\nThe 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.\n\nThe 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.",
                    "supportingMedia": [
                        {
                            "type": "text/markdown",
                            "base64": false,
                            "value": "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:\n\n```\nGET https://app.example//evil.example/edit/  =>  301 Location: https://evil.example/edit\n```\n\nThis 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.\n\nThe 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.\n\nThe 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": [
                {
                    "vendor": "Symfony",
                    "product": "symfony/framework-bundle",
                    "collectionURL": "https://packagist.org",
                    "packageName": "symfony/framework-bundle",
                    "repo": "https://github.com/symfony/symfony",
                    "defaultStatus": "unaffected",
                    "versions": [
                        {
                            "version": "5.4.44",
                            "status": "affected",
                            "lessThan": "5.4.57",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.4.12",
                            "status": "affected",
                            "lessThan": "6.4.51",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.1.5",
                            "status": "affected",
                            "lessThan": "7.4.24",
                            "versionType": "semver"
                        },
                        {
                            "version": "8.0.0",
                            "status": "affected",
                            "lessThan": "8.1.12",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "vendor": "Symfony",
                    "product": "symfony/symfony",
                    "collectionURL": "https://packagist.org",
                    "packageName": "symfony/symfony",
                    "repo": "https://github.com/symfony/symfony",
                    "defaultStatus": "unaffected",
                    "versions": [
                        {
                            "version": "5.4.44",
                            "status": "affected",
                            "lessThan": "5.4.57",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.4.12",
                            "status": "affected",
                            "lessThan": "6.4.51",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.1.5",
                            "status": "affected",
                            "lessThan": "7.4.24",
                            "versionType": "semver"
                        },
                        {
                            "version": "8.0.0",
                            "status": "affected",
                            "lessThan": "8.1.12",
                            "versionType": "semver"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "cweId": "CWE-601",
                            "description": "CWE-601 URL Redirection to Untrusted Site",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ],
                    "cvssV4_0": {
                        "version": "4.0",
                        "vectorString": "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",
                        "baseScore": 5.3,
                        "baseSeverity": "MEDIUM"
                    }
                }
            ],
            "references": [
                {
                    "url": "https://symfony.com/cve-2026-133745",
                    "name": "CVE-2026-133745",
                    "tags": [
                        "vendor-advisory"
                    ]
                },
                {
                    "url": "https://github.com/symfony/symfony/security/advisories/GHSA-q2qh-q4p8-qcmj",
                    "name": "GHSA-q2qh-q4p8-qcmj",
                    "tags": [
                        "vendor-advisory"
                    ]
                },
                {
                    "url": "https://github.com/symfony/symfony/commit/f2efcbcb236cf18a4efa71581c20edbe03c7ef6b",
                    "tags": [
                        "patch"
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Yan Buatois",
                    "type": "finder"
                },
                {
                    "lang": "en",
                    "value": "Amimul Ihsan",
                    "type": "finder"
                },
                {
                    "lang": "en",
                    "value": "Nicolas Grekas",
                    "type": "remediation developer"
                }
            ],
            "source": {
                "advisory": "GHSA-q2qh-q4p8-qcmj",
                "discovery": "UNKNOWN"
            },
            "x_generator": {
                "engine": "symfony/ghsa-to-cve"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-12-01T16:47:04.834355Z",
                                "id": "CVE-2026-133745",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-12-01T16:50:30.426Z"
                }
            }
        ]
    }
}