Timing Attack Affecting org.springframework.security:spring-security-core package, versions [5.7.0,7.0.9)[7.1.0-M1,7.1.3)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKSECURITY-22729282
  • published22 Nov 2026
  • disclosed19 Nov 2026
  • creditwaydesh, emmaw96

Introduced: 19 Nov 2026

NewCVE-2026-59329  (opens in a new tab)
CWE-208  (opens in a new tab)

How to fix?

Upgrade org.springframework.security:spring-security-core to version 7.0.9, 7.1.3 or higher.

Overview

org.springframework.security:spring-security-core is a package that provides security services for the Spring IO Platform.

Affected versions of this package are vulnerable to Timing Attack in the AbstractUserDetailsReactiveAuthenticationManager class (and its subclass UserDetailsRepositoryReactiveAuthenticationManager), whose authenticate method does not invoke the PasswordEncoder when the submitted username does not exist. An attacker can enumerate valid usernames by measuring that authentication requests for unknown users return faster than requests for known users with an incorrect password. This applies to reactive applications that authenticate through these managers, such as reactive formLogin, with the authentication endpoint reachable by the attacker.

CVSS Base Scores

version 4.0
version 3.1