Skip to content
CVE PROGRAM SOURCE RECORD6.1 Medium

CVE-2026-41706

Open Redirect When Using CookieRequestCache

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Spring Spring Security

Default version status: unaffected

  • 5.7.0 to < 5.7.24affected
  • 5.8.0 to < 5.8.26affected
  • 6.3.0 to < 6.3.17affected
  • 6.4.0 to < 6.4.17affected
  • 6.5.0 to < 6.5.10.2affected
  • 7.0.0 to < 7.0.5.1affected

References