CVE-2026-22746 User Attribute Enumeration when Using DaoAuthenticationProvider
Attackers can enumerate disabled, expired, or locked user accounts by bypassing timing attack defenses in Spring Security when specific user attributes are used.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-22746?
CVE-2026-22746 is a low-severity vulnerability in Spring Security, published on 22 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-208
Which versions are affected by CVE-2026-22746?
12 open source packages ship an affected version, including org.springframework.security:spring-security-core. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.springframework.security:spring-security-core Maven | From 5.7.0 to 5.7.22 | None |
org.springframework.security:spring-security-core Maven | From 5.7.0 to 5.7.22 | None |
org.springframework.security:spring-security-core Maven | From 5.8.0 to 5.8.24 | None |
org.springframework.security:spring-security-core Maven | From 5.8.0 to 5.8.24 | None |
org.springframework.security:spring-security-core Maven | From 6.3.0 to 6.3.15 | None |
org.springframework.security:spring-security-core Maven | From 6.3.0 to 6.3.15 | None |
6 more packages
org.springframework.security:spring-security-core Maven | From 6.4.0 to 6.4.15 | None |
org.springframework.security:spring-security-core Maven | From 6.4.0 to 6.4.15 | None |
org.springframework.security:spring-security-core Maven | From 6.5.0 | 6.5.10 |
org.springframework.security:spring-security-core Maven | From 6.5.0 | 6.5.10 |
org.springframework.security:spring-security-core Maven | From 7.0.0 | 7.0.5 |
org.springframework.security:spring-security-core Maven | From 7.0.0 | 7.0.5 |
Products include Vmware Spring Security.
How do I fix CVE-2026-22746?
Upgrade org.springframework.security:spring-security-core to a fixed version for your release line: 6.5.10 or 7.0.5.
Is CVE-2026-22746 being exploited?
There is no known exploitation of CVE-2026-22746 in the wild and no public exploit code.
Other vulnerabilities in Spring Security
- CVE-2014-3527 Authorization Bypass in Spring Security
- CVE-2026-59354 Spring Security OAuth2 Authorization Server: Insufficient validation of Dynamic Client Registration metadata
- CVE-2026-59270 Spring Security embedded UnboundID LDAP server exposes well-known administrative bind DN on all network interfaces
- CVE-2026-22732 Under Some Conditions Spring Security HTTP Headers Are not Written
- CVE-2023-34034 Access Control Bypass in Spring Security
Sources
Also known as CLEANSTART-2026-GO18294, CLEANSTART-2026-NC72499, CLSA-2026-1779238053, CLSA-2026-1779238057, CLSA-2026-1779324466, CLSA-2026-1779410899 and 20 more.