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.

Severity (CVSS 3.1)3.7Low
Exploit odds (30 days)0.2%top 88.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Mavenorg.springframework.security:spring-security-coreno fix listedGHSA-vxf7-qj7q-83fh
Mavenorg.springframework.security:spring-security-coreno fix listedGHSA-vxf7-qj7q-83fh
Mavenorg.springframework.security:spring-security-coreno fix listedGHSA-vxf7-qj7q-83fh
Mavenorg.springframework.security:spring-security-coreno fix listedGHSA-vxf7-qj7q-83fh
Mavenorg.springframework.security:spring-security-core6.5.10GHSA-vxf7-qj7q-83fh
Mavenorg.springframework.security:spring-security-core7.0.5GHSA-vxf7-qj7q-83fh

Affected products (as reported)

VendorProductVersions
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

References