Skip to main content

Spring Security EUVDEUVD-2026-35896

| CVE-2026-41706 MEDIUM
URL Redirection to Untrusted Site (Open Redirect) (CWE-601)
2026-06-10 security@vmware.com GHSA-x2r2-rvhq-2mqv
6.1
CVSS 3.1 · Vendor: vmware
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft URL pointing to victim app login with external redirect cookie value
  2. Delivery
    Deliver link to victim via phishing or malicious web page
  3. Exploit
    Victim navigates to login page and authenticates successfully
  4. Execution
    CookieRequestCache reads unvalidated cookie URL and issues redirect
  5. Persist
    Victim's browser follows Location header to attacker-controlled domain
  6. Impact
    Attacker harvests credentials or session data on spoofed page

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Redirect URL validation
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the target application uses Spring Security's CookieRequestCache or CookieServerRequestCache for saved-request handling - this is the default behavior in Spring Security form-based login configurations where redirect-after-login is enabled, meaning a broad population of default deployments is affected without additional configuration. The CVSS vector (PR:N, AC:L) confirms no authentication is required from the attacker and attack complexity is low. User interaction is required (UI:R): the victim must follow a crafted link and complete a successful authentication against the application. Exploitation is strictly bounded to the post-authentication redirect phase. Applications that have disabled SavedRequest support entirely, replaced CookieRequestCache with HttpSessionRequestCache, or implemented a custom redirect strategy with origin validation are not affected. Exploitation is further limited to the specific Spring Security version ranges listed above; applications on patched versions or versions outside those ranges are not impacted.

Impact

The CVSS 6.1 score and vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N characterize a remotely exploitable, low-complexity, unauthenticated vulnerability with changed scope and low individual impact ratings. The PR:N and AC:L signals confirm trivially weaponizable attack delivery. The critical limiting factor is UI:R: a victim must follow a crafted link and complete authentication, meaning mass automated exploitation is not feasible - this is a social engineering dependency. The S:C (changed scope) designation is appropriate because the victim is redirected outside the application boundary into attacker-controlled infrastructure. No EPSS data was provided in the input, so exploitation probability cannot be quantified. KEV status is absent and no public POC has been identified, suggesting this has not yet been exploited at scale. Despite the moderate CVSS score, real-world risk should be assessed higher for internet-facing applications handling sensitive authentication (financial, identity, enterprise SSO) because the redirect occurs at the most trust-affirming moment - immediately post-login - when users are least likely to scrutinize the URL. Organizations should not discount this as low-priority solely due to the 6.1 score.

Exploit ScenarioDerived

An attacker sends a phishing email containing a link such as https://trusted-app.example.com/login to a targeted user; if the attacker can influence the redirect cookie (e.g., by crafting a URL that causes the application to set the cookie to https://attacker.com/harvest), the victim browses to the application, successfully completes login, and is immediately and silently redirected to the attacker's credential-harvesting page at the exact moment the user trusts the redirect as part of the normal authentication flow. No public exploit code has been identified at time of analysis, but the attack requires only a browser and knowledge of the application's login URL.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 10, 2026

Open redirect in Spring Security's cookie-based saved-request components allows remote unauthenticated attackers to redirect authenticated users to arbitrary external URLs immediately after a successful login. The CookieRequestCache (servlet stack) and CookieServerRequestCache (reactive/WebFlux stack) store the full pre-authentication URL in a browser cookie and use it without origin validation as the post-login Location target, making this exploitable via a socially engineered link. No active exploitation is confirmed (not in CISA KEV) and no public exploit code has been identified at time of analysis, though the S:C scope change and PR:N attack profile make this a meaningful phishing enabler in any Spring Security deployment using cookie-backed saved requests.

RemediationAI

The primary remediation is to upgrade Spring Security to a patched release per the vendor advisory at https://spring.io/security/cve-2026-41706. Exact fixed version numbers for each affected branch (5.7.x, 5.8.x, 6.3.x, 6.4.x, 6.5.x, 7.0.x) were not confirmed in the provided data and must be verified directly against the advisory before applying. If immediate patching is not feasible, a compensating control is to implement a custom SavedRequestAwareAuthenticationSuccessHandler (servlet) or custom ServerRedirectStrategy (reactive) that validates the redirect URL against an explicit allowlist of permitted origins before issuing the Location response - rejecting or defaulting to '/' any URL whose host does not match the application's own domain. This mitigation requires application code changes but fully eliminates the redirect vector. A secondary layer is WAF-based inspection of Set-Cookie headers on login responses to flag or strip cookie values containing external URLs, though this is operationally fragile and should not substitute for the code-level fix. Note that switching from CookieRequestCache to HttpSessionRequestCache avoids this specific class of cookie-based attack surface but introduces server-side session state requirements, which may have scalability trade-offs in stateless deployments.

Affected VersionsENISA

Spring Security 5.8.0 <5.8.26
Spring Security 6.3.0 <6.3.17
Spring Security 5.7.0 <5.7.24
Spring Security 6.5.0 <6.5.11
Spring Security 6.4.0 <6.4.17
Spring Security 7.0.0 <7.0.6

Affected Packages

maven org.springframework.security:spring-security-web fix: 6.5.11, 7.0.6
euvd spring_security fix: 5.7.24, 5.8.26, 6.3.17, 6.4.17, 6.5.11, 7.0.6

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Spring Security is the de facto Java security framework for Spring and Spring Boot applications, handling authentication, authorization, and session management. The CookieRequestCache (used in the servlet/MVC stack) and CookieServerRequestCache (used in the reactive/WebFlux stack) implement a UX pattern where the pre-authentication destination URL is persisted in a browser cookie so users are transparently redirected to their intended page after logging in. The root cause is CWE-601 (URL Redirection to Untrusted Site / Open Redirect): the stored URL value is read back from the cookie and used directly in the HTTP Location response header without validating that the URL belongs to the same origin or is on a permitted allowlist. An attacker who can deliver a crafted URL to a victim - one that sets or influences the redirect cookie value to point to an external site - can hijack the post-login redirect. Both the synchronous MVC and asynchronous reactive stacks are affected, broadening the exposure across the full range of Spring web application deployment models.

Know when Spring Security gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vmware) PRIMARY 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Primary rating from Vendor (vmware) · only source for this CVE.

CVSS VectorVendor: vmware

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

1
Patch available
Jun 10, 2026 - 02:01 EUVD

DescriptionCVE.org

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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 183 maven packages depend on org.springframework.security:spring-security-web (25 direct, 158 indirect)

Ecosystem-wide dependent count for version 7.0.0.

Threat Intelligence Overview

EPSS Score
0.0%
Top 90% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
CVE-2014-3527 CRITICAL
9.8 May 25

When using the CAS Proxy ticket authentication from Spring Security 3.1 to 3.2.4 a malicious CAS Service could trick ano

CVE-2023-34034 CRITICAL
9.8 Jul 19

Using "**" as a pattern in Spring Security configuration for WebFlux creates a mismatch in pattern matching between Spri

CVE-2022-31692 CRITICAL
9.8 Oct 31

Spring Security, versions 5.7 prior to 5.7.5 and 5.6 prior to 5.6.9 could be susceptible to authorization rules bypass v

CVE-2022-22978 CRITICAL
9.8 May 19

In spring security versions prior to 5.4.11+, 5.5.7+ , 5.6.4+ and older unsupported versions, RegexRequestMatcher can ea

CVE-2026-22752 CRITICAL
9.6 Jul 16

Authentication bypass in VMware/Spring's Spring Authorization Server (versions 7.0.0-7.0.4, 1.5.0-1.5.6, 1.4.0-1.4.9, an

CVE-2023-34035 MEDIUM POC
5.3 Jul 18

Spring Security versions 5.8 prior to 5.8.5, 6.0 prior to 6.0.5, and 6.1 prior to 6.1.2 could be susceptible to authoriz

CVE-2018-1258 HIGH
8.8 May 11

Spring Framework version 5.0.5 when used in combination with any versions of Spring Security contains an authorization b

CVE-2026-111235 CRITICAL
9.1 Oct 15

Unauthenticated authorization bypass in the OpenNMS Meridian and Horizon REST API lets any remote attacker who can reach

CVE-2026-59270 CRITICAL
9.1 Aug 27

Improper authorization in Spring Security's embedded UnboundID test LDAP server (UnboundIdContainer) exposes an administ

CVE-2026-22732 CRITICAL POC
9.1 Mar 19

Spring Security fails to properly write HTTP response headers in servlet applications across multiple versions (5.7.0-5.

CVE-2021-22112 HIGH
8.8 Feb 23

Spring Security 5.4.x prior to 5.4.4, 5.3.x prior to 5.3.8.RELEASE, 5.2.x prior to 5.2.9.RELEASE, and older unsupported

CVE-2020-5407 HIGH
8.8 May 13

Spring Security versions 5.2.x prior to 5.2.4 and 5.3.x prior to 5.3.2 contain a signature wrapping vulnerability during

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy