Open Redirect Affecting org.springframework.security:spring-security-oauth2-authorization-server package, versions [,1.5.8)[2.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.17% (7th 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-17324603
  • published12 Jun 2026
  • disclosed9 Jun 2026
  • creditJon Kjennbakken

Introduced: 9 Jun 2026

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

How to fix?

Upgrade org.springframework.security:spring-security-oauth2-authorization-server to version 1.5.8, 7.0.6 or higher.

Overview

Affected versions of this package are vulnerable to Open Redirect due to insufficient validation of the request_uri parameter in the OAuth2AuthorizationCodeRequestAuthenticationConverter class. When an authorization request contains a request_uri parameter, the converter still reads and trusts a request-supplied, unvalidated redirect_uri. An attacker can craft a malicious authorization request combining an invalid request_uri with an arbitrary redirect_uri, causing the authorization endpoint to redirect the victim to an attacker-controlled destination. This enables phishing and credential-theft scenarios, since the redirect originates from the trusted authorization server's domain.

CVSS Base Scores

version 4.0
version 3.1