Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework.security/spring-security-web
  4. ›
  5. CVE-2026-41706

CVE-2026-41706: Spring Security: Open Redirect via Unvalidated Post-Login Redirect URL Stored in CookieRequestCache

June 10, 2026 (updated August 12, 2026)

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.

References

  • github.com/advisories/GHSA-x2r2-rvhq-2mqv
  • github.com/spring-projects/spring-security/releases/tag/6.5.11
  • github.com/spring-projects/spring-security/releases/tag/7.0.6
  • nvd.nist.gov/vuln/detail/CVE-2026-41706
  • spring.io/security/cve-2026-41706

Code Behaviors & Features

Detect and mitigate CVE-2026-41706 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 5.7.23, all versions starting from 5.8.0 up to 5.8.25, all versions starting from 6.3.0 up to 6.3.16, all versions starting from 6.5.0 before 6.5.11, all versions starting from 7.0.0 before 7.0.6

Fixed versions

  • 6.5.11
  • 7.0.6

Solution

Upgrade to versions 6.5.11, 7.0.6 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

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

Source file

maven/org.springframework.security/spring-security-web/CVE-2026-41706.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 14 Aug 2026 12:18:33 +0000.