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.
Metrics
CVSS 3.1 3.7/10
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Spring | Spring Security | >= 5.7.0, <= 5.7.22; >= 5.8.0, <= 5.8.24; >= 6.3.0, <= 6.3.15; >= 6.5.0, <= 6.5.9; >= 7.0.0, <= 7.0.4 |
References
- https://spring.io/security/cve-2026-22746Vendor Advisory
Timeline
- Published
- Apr 22, 2026
- Last modified
- Oct 26, 2026
- NVD status
- Analyzed