CVE-2017-16652 · mitre
CVE-2017-16652
An issue was discovered in Symfony 2.7.x before 2.7.38, 2.8.x before 2.8.31, 3.2.x before 3.2.14, and 3.3.x before 3.3.13. DefaultAuthenticationSuccessHandler or DefaultAuthenticationFailureHandler takes the content of the _target_path parameter and generates a redirect response, but no check is performed on the path, which could be an absolute URL to an external domain. This Open redirect vulnerability can be exploited for example to mount effective phishing attacks.
Published 2018-06-13, last changed 2026-06-17. Weakness: CWE-601.
How to fix
Upgrade to a fixed version: symfony/symfony 2.7.38, 2.8.31, 3.2.14, 3.3.13 (Packagist); symfony/security-http 2.7.38, 2.8.31, 3.2.14, 3.3.13 (Packagist); symfony/security 2.7.38, 2.8.31, 3.2.14, 3.3.13 (Packagist) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in symfony/security-http by d36a87a41e, 558bddb309, d2091c3d65. Functions changed by the fix: __construct, createRedirectResponse. Regression tests: Tests/HttpUtilsTest.php. Confidence: verified (a record names this commit as the fix, and it changed these functions).
Timeline
| 2018-06-13 | Published |
| 2022-05-14 | Package advisory GHSA-r7p7-qr7p-2rrf |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 0.76% |
| 2026-12-04 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-r7p7-qr7p-2rrf | symfony/symfony (Packagist) | 2.7.38 |
| GHSA-r7p7-qr7p-2rrf | symfony/symfony (Packagist) | 2.8.31 |
| GHSA-r7p7-qr7p-2rrf | symfony/symfony (Packagist) | 3.2.14 |
| GHSA-r7p7-qr7p-2rrf | symfony/symfony (Packagist) | 3.3.13 |
| GHSA-r7p7-qr7p-2rrf | symfony/security-http (Packagist) | 2.7.38 |
Also known as: GHSA-r7p7-qr7p-2rrf
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-123824 | 2026-11-06 | 2.3 | Symfony: XXE (Local File Read) in Config XmlUtils::parse() via validateOnParse = true |
| CVE-2026-122053 | 2026-11-06 | 6.9 | Symfony: ObjectNormalizer Dotted-Key Property-Path Traversal Bypasses #[Ignore] on Nested Objects |
| CVE-2026-118515 | 2026-11-06 | 8.4 | Symfony: The Serializer Builds UploadedFile Objects From Request Data, Letting a Client Point an Upload at Any Server File |
| CVE-2026-123339 | 2026-11-06 | 2.3 | Symfony: Inline Fragments Let Untrusted Forwarded Headers Set the Host, Scheme and Port of the URLs Generated for the Main Request |
| CVE-2026-123746 | 2026-11-06 | 2.3 | Symfony: Programmatic Logins Skip the checkPostAuth() Method of User Checkers |
| CVE-2026-121949 | 2026-11-05 | 2.3 | Symfony: HtmlSanitizer Does Not URL-Sanitize srcset and imagesrcset: Media Scheme and Host Allow-List Bypass |
| CVE-2026-118517 | 2026-11-05 | 2.3 | Symfony: HtmlSanitizer allowLinkHosts() / allowMediaHosts() Bypass via URLs Without a Well-Formed Authority (Incomplete Fix for CVE-2026-45066) |
| CVE-2026-123125 | 2026-11-05 | 6.3 | Symfony: Ip Constraint public/private Modes Accept IPv4-Mapped and IPv4-Compatible IPv6 Addresses allowing SSRF Filter Bypass |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2017-16652, or call /api/v1/vulnerabilities/CVE-2017-16652. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.