Spring Security has a broken timing attack mitigation implemented in DaoAuthenticationProvide
Moderate severity
GitHub Reviewed
Published
Jan 22, 2026
to the GitHub Advisory Database
•
Updated Jan 22, 2026
Package
Affected versions
= 6.3.8
= 6.4.4
Patched versions
6.3.9
6.4.5
Description
Published by the National Vulnerability Database
Jan 22, 2026
Published to the GitHub Advisory Database
Jan 22, 2026
Reviewed
Jan 22, 2026
Last updated
Jan 22, 2026
The fix applied in CVE-2025-22228 inadvertently broke the timing attack mitigation implemented in DaoAuthenticationProvider. This can allow attackers to infer valid usernames or other authentication behavior via response-time differences under certain configurations.
References