Observable Timing Discrepancy
CVE-2026-59276
Summary
Several components in Spring Security compare security-sensitive values using standard string equality "String.equals()" rather than a constant-time comparison. Because "String.equals()" returns as soon as it finds a differing character, the time taken to reject an incorrect value is proportional to the number of leading characters that match the expected value. This issue affects Spring Security versions from 5.7.0 through 5.7.25, 5.8.0 through 5.8.27, 6.4.0 through 6.4.18, 6.5.0 through 6.5.11, 7.0.0 through 7.0.6 and 7.1.0.
- HIGH
- NETWORK
- NONE
- UNCHANGED
- NONE
- NONE
- HIGH
- NONE
CWE-208 - Observable Timing Discrepancy
Two separate operations in a product require different amounts of time to complete, in a way that is observable to an actor and reveals security-relevant information about the state of the product, such as whether a particular operation was successful or not.
Advisory Timeline
- Published