Intel

AIKIDO-2026-11188

spring-security-web is vulnerable to Open Redirect

CVE-2026-41706Published Jun 12, 2026
June 12, 2026

61

CVE Score

Medium

Open Redirect

Are you affected? Scan for Free

TL;DR

Affected versions of Spring Security may allow an open redirect after login when CookieRequestCache or CookieServerRequestCache is used to persist the original request URL in a browser cookie. Because the absolute URL from the REDIRECT_URI cookie is reused without validation, an attacker who can tamper with that cookie may force the application to send the user to an attacker-controlled site after successful authentication. In practice, this could be exploited through cookie injection from a related subdomain, HTTP response splitting, or a downgrade from HTTPS to HTTP, enabling convincing phishing flows that abuse the trusted login process.

How do I fix this?

Upgrade the org.springframework.security:spring-security-web library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you are using CookieRequestCache (Servlet) or CookieServerRequestCache (WebFlux) as its RequestCache implementation.

Versions

0.0.1 - 6.5.10

Fixed in 6.5.11

7.0.0 - 7.0.5

Fixed in 7.0.6

Background info

spring-security-web is vulnerable to Open Redirect in versions 0.0.1 - 6.5.10 and 7.0.0 - 7.0.5.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea