User Attribute Enumeration when Using DaoAuthenticationProvider

Summary

CVECVE-2026-22746
StatePUBLISHED
Assignervmware
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-04-22 06:16:02 UTC
Updated2026-04-22 06:16:02 UTC
DescriptionVulnerability 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.

Risk And Classification

Primary CVSS: v3.1 3.7 LOW from [email protected]

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary3.7LOWCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
3.1CNACVSS3.7LOWCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Spring Spring Security affected 5.7.0 5.7.22 custom Not specified
CNA Spring Spring Security affected 5.8.0 5.8.24 custom Not specified
CNA Spring Spring Security affected 6.3.0 6.3.15 custom Not specified
CNA Spring Spring Security unknown 6.4.0 6.4.15 custom Not specified
CNA Spring Spring Security affected 6.5.0 6.5.9 custom Not specified
CNA Spring Spring Security affected 7.0.0 7.0.4 custom Not specified

References

ReferenceSourceLinkTags
spring.io/security/cve-2026-22746 [email protected] spring.io
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report