{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-134790",
        "assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
        "state": "PUBLISHED",
        "assignerShortName": "Symfony",
        "dateReserved": "2026-11-22T17:09:05.968Z",
        "datePublished": "2026-11-25T10:00:21.839Z",
        "dateUpdated": "2026-11-25T19:59:50.833Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
                "shortName": "Symfony",
                "dateUpdated": "2026-11-25T10:00:21.839Z"
            },
            "title": "Login Redirects Can Still Reach Another Host When the Session Cookie Domain Is Set: Incomplete Fix for CVE-2017-16652",
            "datePublic": "2026-11-25T09:36:46.000Z",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "The fix for CVE-2017-16652 restricts the redirects of HttpUtils::createRedirectResponse() to the host of the request. When framework.session.cookie_domain is set, it also allows the subdomains of that domain. To check a target, it read the host of the URL up to the first \"/\". But browsers also end the host at \"\\\", \"?\" and \"#\". So with the cookie domain .example.com, a target like https://evil.test?.example.com passed the check, and the browser went to evil.test.\n\nApplications are exposed when framework.session.cookie_domain is set. The default success and failure handlers of form_login redirect to the _target_path or _failure_path of the request. A login link can then send the user to another site right after a successful login, for example to ask for the password again.\n\nHttpUtils now ends the host of a target where browsers do, before checking it against the allowed domains.",
                    "supportingMedia": [
                        {
                            "type": "text/markdown",
                            "base64": false,
                            "value": "The fix for CVE-2017-16652 restricts the redirects of `HttpUtils::createRedirectResponse()` to the host of the request. When `framework.session.cookie_domain` is set, it also allows the subdomains of that domain. To check a target, it read the host of the URL up to the first \"/\". But browsers also end the host at \"\\\", \"?\" and \"#\". So with the cookie domain `.example.com`, a target like `https://evil.test?.example.com` passed the check, and the browser went to evil.test.\n\nApplications are exposed when `framework.session.cookie_domain` is set. The default success and failure handlers of `form_login` redirect to the `_target_path` or `_failure_path` of the request. A login link can then send the user to another site right after a successful login, for example to ask for the password again.\n\n`HttpUtils` now ends the host of a target where browsers do, before checking it against the allowed domains."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "Symfony",
                    "product": "symfony/security-http",
                    "collectionURL": "https://packagist.org",
                    "packageName": "symfony/security-http",
                    "repo": "https://github.com/symfony/symfony",
                    "defaultStatus": "unaffected",
                    "versions": [
                        {
                            "version": "0",
                            "status": "affected",
                            "lessThan": "5.4.57",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.0.0",
                            "status": "affected",
                            "lessThan": "6.4.51",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.0.0",
                            "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": "0",
                            "status": "affected",
                            "lessThan": "5.4.57",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.0.0",
                            "status": "affected",
                            "lessThan": "6.4.51",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.0.0",
                            "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-134790",
                    "name": "CVE-2026-134790",
                    "tags": [
                        "vendor-advisory"
                    ]
                },
                {
                    "url": "https://github.com/symfony/symfony/security/advisories/GHSA-xf2q-gfhq-mv2q",
                    "name": "GHSA-xf2q-gfhq-mv2q",
                    "tags": [
                        "vendor-advisory"
                    ]
                },
                {
                    "url": "https://github.com/symfony/symfony/commit/b311687afd165a4f62dcd2dff4632be7eb1db844",
                    "tags": [
                        "patch"
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Amimul Ihsan",
                    "type": "reporter"
                },
                {
                    "lang": "en",
                    "value": "Nicolas Grekas",
                    "type": "remediation developer"
                }
            ],
            "source": {
                "advisory": "GHSA-xf2q-gfhq-mv2q",
                "discovery": "UNKNOWN"
            },
            "x_generator": {
                "engine": "symfony/ghsa-to-cve"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-11-25T19:51:03.508460Z",
                                "id": "CVE-2026-134790",
                                "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-11-25T19:59:50.833Z"
                }
            }
        ]
    }
}