{"id":"CVE-2026-41706","title":"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","summary":"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 versi…","severity":"medium","cvss":6.1,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","cwe":["CWE-601"],"vendor":"vmware","product":"spring_security","affected":["spring_security < 5.7.24","spring_security >= 5.8.0, < 5.8.26","spring_security >= 6.3.0, < 6.3.17","spring_security >= 6.4.0, < 6.4.17","spring_security >= 6.5.0, < 6.5.10.2","spring_security >= 7.0.0, < 7.0.5.1"],"patched":["spring_security 7.0.5.1"],"published":"2026-06-10","updated":"2026-07-17","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-41706","references":[{"url":"https://spring.io/security/cve-2026-41706","label":"security@vmware.com"}],"tags":["nvd"],"epss":0.00211,"epssPercentile":0.11642,"ingestedAt":"2026-07-17T21:16:24.129Z","slug":"CVE-2026-41706","body":"## Overview\n\nSpring 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.\n\nAffected versions:\nSpring 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.\n\n## Affected\n\n- `spring_security < 5.7.24`\n- `spring_security >= 5.8.0, < 5.8.26`\n- `spring_security >= 6.3.0, < 6.3.17`\n- `spring_security >= 6.4.0, < 6.4.17`\n- `spring_security >= 6.5.0, < 6.5.10.2`\n- `spring_security >= 7.0.0, < 7.0.5.1`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `spring_security 7.0.5.1`","depth":"sunlit","depthScore":34,"depthScoreParts":{"impact":33.6,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}