Open Redirect Affecting org.springframework.security:spring-security-web package, versions [,6.5.11)[7.0.0-M1,7.0.6)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.21% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Open Redirect vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKSECURITY-17314598
  • published12 Jun 2026
  • disclosed10 Jun 2026
  • creditUnknown

Introduced: 10 Jun 2026

CVE-2026-41706  (opens in a new tab)
CWE-601  (opens in a new tab)

How to fix?

Upgrade org.springframework.security:spring-security-web to version 6.5.11, 7.0.6 or higher.

Overview

org.springframework.security:spring-security-web is a package within Spring Security that provides security services for the Spring IO Platform.

Affected versions of this package are vulnerable to Open Redirect in the CookieRequestCache function. An attacker can redirect users to arbitrary external sites by crafting a malicious authentication flow that leverages the unvalidated absolute URL stored in the cookie.

Note:

This is only exploitable if all the following conditions are met:

  • The application uses CookieRequestCache (Servlet) or CookieServerRequestCache (WebFlux) as its RequestCache implementation.

  • An attacker is able to influence the value of the REDIRECT_URI cookie, for example through cookie injection via a related subdomain, an HTTP response splitting attack, or a protocol downgrade from HTTPS to HTTP.

CVSS Base Scores

version 4.0
version 3.1