medium6.1
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 …
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.springframework.security:spring-security-web | >= 7.0.0, <= 7.0.5 | 7.0.6 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Vmware | Spring Security | before 5.7.24 from 5.8.0 before 5.8.26 from 6.3.0 before 6.3.17 from 6.4.0 before 6.4.17 from 6.5.0 before 6.5.10.2 from 7.0.0 before 7.0.5.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-x2r2-rvhq-2mqv
- https://nvd.nist.gov/vuln/detail/CVE-2026-41706
- https://spring.io/security/cve-2026-41706
- https://github.com/spring-projects/spring-security/releases/tag/6.5.11
- https://github.com/spring-projects/spring-security/releases/tag/7.0.6