CVE-2026-22746

User Attribute Enumeration when Using DaoAuthenticationProvider

State
Published
Severity
3.7 Low
Published
Apr 22, 2026
Updated
Apr 22, 2026
Reserved
Jan 9, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.13.7 LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:Nvmware

Weaknesses

  • CWE-208 Observable Timing Discrepancy

Affected Products

ProductVersions
Spring SecuritySpring
  • 5.7.0 through 5.7.22Affected
  • 5.8.0 through 5.8.24Affected
  • 6.3.0 through 6.3.15Affected
  • 6.4.0 through 6.4.15Unknown
  • 6.5.0 through 6.5.9Affected
  • 7.0.0 through 7.0.4Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.