# CVE-2026-22746: Spring Security Vulnerable to User Attribute Enumeration when Using DaoAuthenticationProvider

Source: https://junglewise.ai/threats/cve-2026-22746-spring-security-vulnerable-to-user-attribute-enumeration-when  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-22  
License: CC BY 4.0 with a link back

CVE-2026-22746 · Severity: low · CVSS 3.7 · Published 2026-04-22

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.

Technologies: [org.springframework.security:spring-security-core (Maven)](https://junglewise.ai/threats/technologies/org-springframework-security-spring-security-core), [VMware Spring Security](https://junglewise.ai/threats/technologies/spring-security). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven), [VMware](https://junglewise.ai/threats/vendors/vmware).

## Quick answers

**Is CVE-2026-22746 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-22746 being exploited in the wild.

**How severe is CVE-2026-22746?** Low severity, with a CVSS score of 3.7, published 22 April 2026.

**Which products and versions are affected?** org.springframework.security:spring-security-core (Maven) ECOSYSTEM:introduced=5.7.0,last_affected=5.7.22.

**Is there a fix for CVE-2026-22746?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**Am I affected by CVE-2026-22746?** Check whether you run org.springframework.security:spring-security-core (Maven) or VMware Spring Security at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Affected products

- org.springframework.security:spring-security-core (Maven) ECOSYSTEM:introduced=5.7.0,last_affected=5.7.22
- VMware Spring Security

## Identifiers

- CVE-2026-22746
- GHSA-vxf7-qj7q-83fh

## Related threats

- [Spring Security InetAddressMatchers IP classification bypass](https://junglewise.ai/threats/cve-2026-59277-spring-security-inetaddressmatchers-ip-classification-bypass)
- [Spring Security timing attack on security-sensitive string comparison](https://junglewise.ai/threats/cve-2026-59276-spring-security-timing-attack-on-security-sensitive-string)
- [Spring Security OAuth2 Authorization Server metadata validation in Dynamic Client Registration](https://junglewise.ai/threats/cve-2026-59354-spring-security-oauth2-authorization-server-metadata-validation)
- [Spring Security embedded UnboundID LDAP server authentication bypass](https://junglewise.ai/threats/cve-2026-59270-spring-security-embedded-unboundid-ldap-server-authentication)
- [Spring Security WebAuthn user verification bypass in distributed sessions](https://junglewise.ai/threats/cve-2026-47841-spring-security-webauthn-user-verification-bypass-in-distributed)
