Skip to main content

Spring Security CVE-2026-22746

| EUVDEUVD-2026-24607 LOW
Observable Timing Discrepancy (CWE-208)
2026-04-22 vmware GHSA-vxf7-qj7q-83fh
3.7
CVSS 3.1 · Vendor: vmware
View

Attack ChainAIDerived

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

  1. Access
    Attacker sends authentication request
  2. Delivery
    Spring DaoAuthenticationProvider validates credentials
  3. Exploit
    Timing difference leaks account status
  4. Execution
    Attacker collects response time samples
  5. Persist
    Statistical analysis distinguishes valid users from invalid
  6. Impact
    Account 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.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 – 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

Spring Security 5.8.0 ≤5.8.24
Spring Security 5.7.0 ≤5.7.22
Spring Security 7.0.0 ≤7.0.4
Spring Security 6.5.0 ≤6.5.9
Spring Security 6.3.0 ≤6.3.15

Affected Packages

maven org.springframework.security:spring-security-core fix: 6.5.10, 7.0.5
euvd spring_security no fix

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

Vendor (vmware) PRIMARY 3.7 LOW
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

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

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
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 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

EPSS Score
0.0%
Top 89% 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 LOW
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

18
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +18
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Spring

View all
CVE-2025-70982 CRITICAL POC
9.9 Jan 26

Access control bypass in SpringBlade v4.5.0 importUser function allows low-privileged users to import sensitive user dat

CVE-2026-22739 HIGH POC
8.6 Mar 24

Spring Cloud Config Server contains a path traversal vulnerability when using the native file system backend, allowing u

CVE-2025-41242 MEDIUM POC
5.9 Aug 18

Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant

CVE-2025-70983 CRITICAL
9.9 Jan 23

SpringBlade v4.5.0 has an access control flaw in authRoutes allowing low-privileged users to escalate to admin through t

CVE-2026-41699 CRITICAL
9.8 Jun 11

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

CVE-2026-59313 CRITICAL
9.8 Aug 27

Server-Sent Events (SSE) stream corruption affects Spring MVC applications built on the functional web framework across

CVE-2026-22738 CRITICAL
9.8 Mar 27

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

CVE-2026-41855 CRITICAL
9.8 Jun 09

Unsafe JSON deserialization in Spring Framework's JMS message converters (MappingJackson2MessageConverter and JacksonJso

CVE-2025-41232 CRITICAL
9.1 May 21

Spring Security Aspects may not correctly locate method security annotations on private methods. Rated critical severity

CVE-2026-59283 CRITICAL
9.1 Aug 27

Safety-guard bypass in the Spring Framework SpEL engine (VMware/Broadcom) lets attacker-controlled expression input esca

CVE-2026-40982 CRITICAL
9.1 May 07

Directory traversal in Spring Cloud Config server module allows remote unauthenticated attackers to read arbitrary files

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.

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