{"id":"CVE-2026-41706","published":"2026-06-09T23:47:58Z","modified":"2026-06-27T21:27:02Z","title":"Open Redirect When Using CookieRequestCache","vendor":"Spring","product":"Spring Security","tier":"tail","description":{"text":"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.\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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00211,"percentile":0.11522,"provenance":"source"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"references":[{"url":"https://spring.io/security/cve-2026-41706","tags":[]}],"priority":{"score":6.6,"factors":[{"name":"EPSS percentile","points":2.3},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"spring","affectedVersions":[{"vendor":"Spring","product":"Spring Security","versions":[">= 5.7.0, < 5.7.24",">= 5.8.0, < 5.8.26",">= 6.3.0, < 6.3.17",">= 6.4.0, < 6.4.17",">= 6.5.0, < 6.5.10.2",">= 7.0.0, < 7.0.5.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-10T13:03:12.093082Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.springframework.security:spring-security-web","vulnerableRanges":[">=7.0.0, <7.0.6",">=6.5.0, <6.5.11",">=6.3.0, <=6.3.16",">=5.8.0, <=5.8.25","<=5.7.23"],"patched":["7.0.6","6.5.11"],"from":["GHSA-x2r2-rvhq-2mqv"],"provenance":"source"}],"summary":{"text":"Spring Security's CookieRequestCache and CookieServerRequestCache, which store the pre-authentication URL in a cookie to redirect users after login, fail to validate that stored absolute URL before using it as the post-login redirect target. An attacker can exploit this by getting a victim to follow a crafted link that causes the victim to be sent to an external site after authenticating, which requires the victim to interact with the link and complete a login.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:16:38Z"},"euvd":{"id":"EUVD-2026-35896","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-47838","published":"2026-06-09","fixed":"6.5.11","kev":false},{"cve":"CVE-2026-22732","published":"2026-03-19","fixed":"7.0.4","kev":false,"link":{"from":"CVE-2026-22732","to":"CVE-2026-41706","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.springframework.security:spring-security-web","fromFixed":"6.5.9","toFixed":"6.5.11","daysApart":82}]}},{"cve":"CVE-2026-22747","published":"2026-04-22","fixed":"7.0.5","kev":false,"link":{"from":"CVE-2026-22747","to":"CVE-2026-41706","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.springframework.security:spring-security-web","fromFixed":"7.0.5","toFixed":"7.0.6","daysApart":48}]}},{"cve":"CVE-2026-41706","published":"2026-06-09","fixed":"7.0.6","kev":false}],"package":"Maven:org.springframework.security:spring-security-web"}}