Spring Security: Open Redirect via Unvalidated Post-Login Redirect URL Stored in CookieRequestCache
Spring Security's CookieRequestCache and CookieServerRequestCache store the pre-authentication request URL in a browser cookie so that users can be redirected back to their intended destination after a successful login. In affected versions, the full absolute URL is stored in the cookie and is used without validation as the post-login redirect target. Affected versions: Spring Security 5.7.0 through 5.7.23; 5.8.0 through 5.8.25; 6.3.0 through 6.3.16; 6.4.0 through 6.4.16; 6.5.0 through 6.5.10; 7.0.0 through 7.0.5.
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2026-41706US | — | — | ||
Spring Security's CookieRequestCache and CookieServerRequestCache store the pre-authentication request URL in a browser cookie so that users can be redirected back to their intende… | ||||
references
External citations — patches, advisories, analysis.
- https://github.com/spring-projects/spring-securityPACKAGE
- https://github.com/spring-projects/spring-security/releases/tag/6.5.11WEB
- https://github.com/spring-projects/spring-security/releases/tag/7.0.6WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-41706ADVISORY
- https://spring.io/security/cve-2026-41706WEB
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan