CVE-2026-41706

Open Redirect When Using CookieRequestCache

State
Published
Severity
6.1 Medium
Published
Jun 9, 2026
Updated
Jun 27, 2026
Reserved
Apr 22, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.16.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:Nvmware

Weaknesses

  • CWE-601 URL Redirection to Untrusted Site (Open Redirect)

Affected Products

ProductVersions
Spring SecuritySpring
  • 5.7.0 to before 5.7.24Affected
  • 5.8.0 to before 5.8.26Affected
  • 6.3.0 to before 6.3.17Affected
  • 6.4.0 to before 6.4.17Affected
  • 6.5.0 to before 6.5.10.2Affected
  • 7.0.0 to before 7.0.5.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.