CVE-2026-22746 User Attribute Enumeration when Using DaoAuthenticationProvider

Low 3.7 Published Updated

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.

PackageAffectedFixed in
org.springframework.security:spring-security-core MavenFrom 5.7.0 to 5.7.22None
org.springframework.security:spring-security-core MavenFrom 5.7.0 to 5.7.22None
org.springframework.security:spring-security-core MavenFrom 5.8.0 to 5.8.24None
org.springframework.security:spring-security-core MavenFrom 5.8.0 to 5.8.24None
org.springframework.security:spring-security-core MavenFrom 6.3.0 to 6.3.15None
org.springframework.security:spring-security-core MavenFrom 6.3.0 to 6.3.15None
6 more packages
org.springframework.security:spring-security-core MavenFrom 6.4.0 to 6.4.15None
org.springframework.security:spring-security-core MavenFrom 6.4.0 to 6.4.15None
org.springframework.security:spring-security-core MavenFrom 6.5.06.5.10
org.springframework.security:spring-security-core MavenFrom 6.5.06.5.10
org.springframework.security:spring-security-core MavenFrom 7.0.07.0.5
org.springframework.security:spring-security-core MavenFrom 7.0.07.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.

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.

Is CVE-2026-22746 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free