Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft URL pointing to victim app login with external redirect cookie value
-
DeliveryDeliver link to victim via phishing or malicious web page
-
ExploitVictim navigates to login page and authenticates successfully
-
ExecutionCookieRequestCache reads unvalidated cookie URL and issues redirect
-
PersistVictim's browser follows Location header to attacker-controlled domain
-
ImpactAttacker 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Lifecycle Timeline
1DescriptionCVE.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- 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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Related Vulnerabilities in Spring Security Auth and Injection Flaws
View all 6More in Spring Security
View allWhen using the CAS Proxy ticket authentication from Spring Security 3.1 to 3.2.4 a malicious CAS Service could trick ano
Using "**" as a pattern in Spring Security configuration for WebFlux creates a mismatch in pattern matching between Spri
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
In spring security versions prior to 5.4.11+, 5.5.7+ , 5.6.4+ and older unsupported versions, RegexRequestMatcher can ea
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
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
Spring Framework version 5.0.5 when used in combination with any versions of Spring Security contains an authorization b
Unauthenticated authorization bypass in the OpenNMS Meridian and Horizon REST API lets any remote attacker who can reach
Improper authorization in Spring Security's embedded UnboundID test LDAP server (UnboundIdContainer) exposes an administ
Spring Security fails to properly write HTTP response headers in servlet applications across multiple versions (5.7.0-5.
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
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
EUVD-2026-35896
GHSA-x2r2-rvhq-2mqv
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB