Vulnerability · Published Apr 22, 2026 · Assigned by vmware
CVE-2026-22746User Attribute Enumeration when Using DaoAuthenticationProvider
Low 3.7
In plain English
A low-severity security flaw in Spring Security from Spring. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 12% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.springframework.security:spring-security-core | no fix listed | GHSA-vxf7-qj7q-83fh |
| Maven | org.springframework.security:spring-security-core | no fix listed | GHSA-vxf7-qj7q-83fh |
| Maven | org.springframework.security:spring-security-core | no fix listed | GHSA-vxf7-qj7q-83fh |
| Maven | org.springframework.security:spring-security-core | no fix listed | GHSA-vxf7-qj7q-83fh |
| Maven | org.springframework.security:spring-security-core | 6.5.10 | GHSA-vxf7-qj7q-83fh |
| Maven | org.springframework.security:spring-security-core | 7.0.5 | GHSA-vxf7-qj7q-83fh |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Spring | Spring Security | 5.7.0 – through 5.7.225.8.0 – through 5.8.246.3.0 – through 6.3.156.5.0 – through 6.5.97.0.0 – through 7.0.4 |
Weakness: CWE-208 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N