cvelo
P4 · InfoCVSS 3.7EPSS 0.5%

Spring Security Reactive Authentication Timing Attack Enables Username Enumeration

  • CVE-2026-59329
  • EUVD-2026-141019

Description

Spring Security's reactive authentication support, AbstractUserDetailsReactiveAuthenticationManager and UserDetailsRepositoryReactiveAuthenticationManager , do not invoke the configured PasswordEncoder when a submitted username cannot be found, unlike its blocking counterpart DaoAuthenticationProvider . Because password encoding is deliberately CPU-intensive, the response time for a nonexistent username is measurably shorter than for a valid username with an incorrect password. Preconditions : The application authenticates using AbstractUserDetailsReactiveAuthenticationManager or a subclass, such as UserDetailsRepositoryReactiveAuthenticationManager (used by reactive .formLogin()). The authentication endpoint is reachable by the attacker. An unauthenticated attacker who can measure authentication response times can use this difference to enumerate valid usernames.

Text from the CVE.org record.

Affected

  • Spring Spring Security

    • from 7.1.0 to before 7.1.2.1
    • from 7.0.0 to before 7.0.8.1
    • from 6.5.0 to before 6.5.13
    • from 6.4.0 to before 6.4.20
    • from 5.8.0 to before 5.8.29
    • from 5.7.0 to before 5.7.27
    • from 7.1.0 to before 7.1.3
    • from 7.0.0 to before 7.0.9

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.