What’s Vulnerable › Vulnerabilities
CVE-2026-22746: User Attribute Enumeration when Using DaoAuthenticationProvider
- Severity: low (CVSS 3.7 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-04-22 · updated 2026-10-26
- Weakness: CWE-208
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 products
- Spring Security: before 5.7.23; from 5.8.0 before 5.8.25; from 6.3.0 before 6.3.16; from 6.4.0 before 6.4.16; from 6.5.0 before 6.5.10; from 7.0.0 before 7.0.5 — fixed in 5.7.23, 5.8.25, 6.3.16, 6.4.16, 6.5.10, 7.0.5
- 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
How to fix
Upgrade to a fixed version: Spring Security 5.7.23, 5.8.25, 6.3.16, 6.4.16. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-22746 or the next vulnerability affects your stack