Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker sends authentication request
-
DeliverySpring DaoAuthenticationProvider validates credentials
-
ExploitTiming difference leaks account status
-
ExecutionAttacker collects response time samples
-
PersistStatistical analysis distinguishes valid users from invalid
-
ImpactAccount enumeration enables targeted attack
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V6 - Authentication Timing attack prevention
|
| Exploitation Conditions | The vulnerability is triggered when an application uses Spring Security's DaoAuthenticationProvider with UserDetails objects where at least one of the following attributes is checked during authentication: isEnabled(), isAccountNonExpired(), or isAccountNonLocked(). Exploitation requires that the attacker can reach the authentication endpoint over the network (no authentication or special privilege required to initiate requests). The attack succeeds only if the application logic relies on these account status flags for access control and does not implement application-level rate-limiting or response normalization. Exploitation is limited by: (1) attack complexity - timing attacks require statistically significant request samples and precise time measurement, sensitive to network latency jitter; (2) information disclosure scope - only username enumeration and account status inference are possible, not password or authorization data retrieval; (3) deployments using alternative authentication mechanisms (e.g., token-based, stateless) or those not checking account status flags during DaoAuthenticationProvider validation are not affected. |
| Impact | CVSS score of 3.7 with AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N indicates a low-severity timing leak: network-accessible but high attack complexity (timing attacks require precision and multiple requests), no privilege or user interaction required, confidentiality impact limited to username enumeration, no integrity or availability impact. EPSS score not provided. KEV status unknown - no evidence of active exploitation in CISA databases at time of analysis. The attack requires significant effort (multiple authentication attempts, statistical analysis of response times, network conditions suitable for precise timing measurement) and yields only partial information gain (discerning user existence and account state, not passwords or sensitive data). However, timing attacks can compound other vulnerabilities (credential enumeration feeding targeted attacks) and may violate information security policy in regulated environments. Real-world priority depends on exposure (public-facing authentication) and attacker capability (network conditions, determination). This is a genuine but limited-impact vulnerability; not a miscategorized high-CVSS issue. |
| Exploit ScenarioDerived | An attacker sends hundreds of authentication requests with varying usernames and measures response times to the Spring Security authentication endpoint. Requests for disabled or expired accounts return slightly faster than requests for active accounts (due to early termination of validation checks). By analyzing response time distributions statistically, the attacker distinguishes valid usernames from invalid ones and identifies locked or expired accounts without obtaining passwords. This information feeds targeted phishing or credential stuffing campaigns against enumerated users. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 22, 2026
Spring Security's DaoAuthenticationProvider can leak timing information about user account status when applications rely on UserDetails#isEnabled, #isAccountNonExpired, or #isAccountNonLocked attributes for user validation. This allows remote attackers to enumerate disabled, expired, or locked accounts through timing analysis of authentication responses across affected versions 5.7.0-5.7.22, 5.8.0-5.8.24, 6.3.0-6.3.15, 6.5.0-6.5.9, and 7.0.0-7.0.4. No public exploit code or active exploitation has been identified at this time.
RemediationAI
Upgrade Spring Security to patched versions: 5.7.23 or later for 5.7.x branch, 5.8.25 or later for 5.8.x branch, 6.3.16 or later for 6.3.x branch, 6.5.10 or later for 6.5.x branch, or 7.0.5 or later for 7.0.x branch. Patched releases restore constant-time validation for account status checks, eliminating the timing side-channel. Apply patches via Maven Central Repository or Spring's artifact repository. For applications unable to upgrade immediately, implement network-level mitigations: rate-limit authentication attempts per source IP (e.g., 5 failed attempts per minute) to increase statistical noise in timing measurements and reduce attacker's ability to accumulate precise timing data; deploy a WAF (Web Application Firewall) configured to throttle rapid authentication requests. Note that rate-limiting may degrade user experience for legitimate users with network issues. Test patches in non-production environments first to ensure compatibility with custom authentication logic. Verify that UserDetails implementations are not overridden with non-constant-time account status validation.
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's DaoAuthenticationProvider is the core component that authenticates users by retrieving UserDetails from a data access object (DAO) and validating credentials and account status flags. The vulnerability stems from a timing side-channel in the authentication validation logic where account status checks (enabled, account non-expired, account non-locked) complete at different speeds depending on whether the user exists and their account state, rather than executing constant-time validation. This bypasses the timing attack defense mechanism intended to prevent attackers from distinguishing valid usernames from invalid ones. The flaw affects Java applications using Spring Security versions across multiple release branches (5.7.x, 5.8.x, 6.3.x, 6.5.x, 7.0.x).
Know when Spring 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:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Primary rating from Vendor (vmware) · only source for this CVE.
CVSS VectorVendor: vmware
DescriptionCVE.org
Vulnerability in Spring Spring Security. If an application is using the UserDetails#isEnabled, #isAccountNonExpired, or #isAccountNonLocked user attributes, to enable, expire, or lock users, then DaoAuthenticationProvider's timing attack defense can be bypassed for users who are disabled, expired, or locked.This issue affects Spring Security: from 5.7.0 through 5.7.22, from 5.8.0 through 5.8.24, from 6.3.0 through 6.3.15, from 6.5.0 through 6.5.9, from 7.0.0 through 7.0.4.
Blast Radius
ecosystem impact- 37 maven packages depend on org.springframework.security:spring-security-core (20 direct, 17 indirect)
Ecosystem-wide dependent count for version 5.7.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
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Related Vulnerabilities in Spring Security Authentication and Authorization
View all 5Access control bypass in SpringBlade v4.5.0 importUser function allows low-privileged users to import sensitive user dat
Spring Cloud Config Server contains a path traversal vulnerability when using the native file system backend, allowing u
Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant
SpringBlade v4.5.0 has an access control flaw in authRoutes allowing low-privileged users to escalate to admin through t
Remote code execution in Spring for GraphQL versions 1.3.0-1.3.8, 1.4.0-1.4.5, and 2.0.0-2.0.3 allows unauthenticated at
Server-Sent Events (SSE) stream corruption affects Spring MVC applications built on the functional web framework across
Spring AI versions 1.0.0 through 1.0.4 and 1.1.0 through 1.1.3 allow unauthenticated remote code execution through Sprin
Unsafe JSON deserialization in Spring Framework's JMS message converters (MappingJackson2MessageConverter and JacksonJso
Spring Security Aspects may not correctly locate method security annotations on private methods. Rated critical severity
Safety-guard bypass in the Spring Framework SpEL engine (VMware/Broadcom) lets attacker-controlled expression input esca
Directory traversal in Spring Cloud Config server module allows remote unauthenticated attackers to read arbitrary files
Spring Security fails to properly write HTTP response headers in servlet applications across multiple versions (5.7.0-5.
EUVD-2026-24607
GHSA-vxf7-qj7q-83fh
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB