CVE-2026-22746
LOW 3.7CVSS 3.1Spring Security Vulnerable to User Attribute Enumeration when Using DaoAuthenticationProvider
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.
- Published
- 22 Apr 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security@vmware.com
- NVD status
- Analyzed
- Weakness
- CWE-208
- Also known as
- GHSA-vxf7-qj7q-83fh
- Sources
- NVDJSONOSV GHSA-vxf7-qj7q-83fhJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@vmware.com (Secondary) | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vmware | spring_securitycpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* |
< 5.7.23 | 5.7.23 |
| NVD | vmware | spring_securitycpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* |
>= 5.8.0, < 5.8.25 | 5.8.25 |
| NVD | vmware | spring_securitycpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* |
>= 6.3.0, < 6.3.16 | 6.3.16 |
| NVD | vmware | spring_securitycpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* |
>= 6.4.0, < 6.4.16 | 6.4.16 |
| NVD | vmware | spring_securitycpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* |
>= 6.5.0, < 6.5.10 | 6.5.10 |
| NVD | vmware | spring_securitycpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* |
>= 7.0.0, < 7.0.5 | 7.0.5 |
| OSV | Maven | org.springframework.security:spring-security-core | >= 5.7.0, <= 5.7.22 | |
| OSV | Maven | org.springframework.security:spring-security-core | >= 5.8.0, <= 5.8.24 | |
| OSV | Maven | org.springframework.security:spring-security-core | >= 6.3.0, <= 6.3.15 | |
| OSV | Maven | org.springframework.security:spring-security-core | >= 6.4.0, <= 6.4.15 | |
| OSV | Maven | org.springframework.security:spring-security-core | >= 6.5.0, < 6.5.10 | 6.5.10 |
| OSV | Maven | org.springframework.security:spring-security-core | >= 7.0.0, < 7.0.5 | 7.0.5 |
References
- https://spring.io/security/cve-2026-22746 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-22746 · ADVISORY
- https://github.com/spring-projects/spring-security · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 22 Apr 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 22 Apr 2026)