CVE-2026-59329 PUBLISHED

Spring Security Reactive Authentication Timing Attack Enables Username Enumeration

Assigner: vmware
Reserved: 04.07.2026 Published: 02.12.2026 Updated: 02.12.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS Score: 3.7

Product Status

Vendor Spring
Product Spring Security
Versions
  • affected from 7.1.0 to 7.1.2.1 (excl.)
  • affected from 7.0.0 to 7.0.8.1 (excl.)
  • affected from 6.5.0 to 6.5.13 (excl.)
  • affected from 6.4.0 to 6.4.20 (excl.)
  • affected from 5.8.0 to 5.8.29 (excl.)
  • affected from 5.7.0 to 5.7.27 (excl.)
  • affected from 7.1.0 to 7.1.3 (excl.)
  • affected from 7.0.0 to 7.0.9 (excl.)

Credits

  • This issue was identified and responsibly reported by waydeshi and emmaw96 .

References