CVE-2026-22746
Spring Security Vulnerable to User Attribute Enumeration when Using DaoAuthenticationProvider
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Dafür müssen bestimmte Bedingungen erfüllt sein, was einen Angriff erschwert. Bei Erfolg: geringes Risiko, dass Daten ausgelesen werden.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| maven | org.springframework.security:spring-security-core | >= 5.7.0, <= 5.7.22 | nicht erfasst |
Betroffene Produkte · VMware
| Produkt | Betroffene Versionen |
|---|---|
| Spring Security | vor 5.7.23 ab 5.8.0 vor 5.8.25 ab 6.3.0 vor 6.3.16 ab 6.4.0 vor 6.4.16 ab 6.5.0 vor 6.5.10 ab 7.0.0 vor 7.0.5 |