Vulnerability
CVE-2026-41706
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.
25 advisories report this vulnerability, across 2 ecosystems.
Advisories
- CGA-2462-qpc4-c3jw
- CGA-2hp4-9r78-rmw6
- CGA-45f6-xcxx-j926
- CGA-495m-9hjw-gpq6
- CGA-5fpc-j7v7-mm7m
- CGA-6vfp-v2mj-c7g9
- CGA-6wqc-vg6f-58hr
- CGA-78h9-q59r-2gqx
- CGA-7g75-73rg-f33p
- CGA-7v4h-4f32-g98f
- CGA-8m28-gq7p-rjjr
- CGA-8q24-627r-f74r
- CGA-g9x5-2w86-c8ph
- CGA-gcjc-6mmv-5wq4
- CGA-gqwm-62q9-733v
- CGA-hc3j-rqx8-hr2f
- CGA-j7w9-q2j4-7qh3
- CGA-q8g3-253q-qjh8
- CGA-r43g-23cr-6m44
- CGA-r9c5-vrhp-q5j4
- CGA-rmf7-h9r7-p266
- CGA-w93q-gg7r-rc2f
- CGA-wc4w-5xcp-94p8
- CGA-wrcr-x48p-2r3r
-
GHSA-x2r2-rvhq-2mqv
Spring Security: Open Redirect via Unvalidated Post-Login Redirect URL Stored in CookieRequestCache