CVE-2026-59276
Timing Attack via Non-Constant-Time Comparison of Sensitive Values
Description
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. Spring Security 7.1.0 Spring Security 7.0.0 - 7.0.6 Spring Security 6.5.0 - 6.5.11 Spring Security 6.4.0 - 6.4.18 Spring Security 5.8.0 - 5.8.27 Spring Security 5.7.0 - 5.7.25
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework.security » spring-security-core | >= 5.7.0, <= 5.7.25>= 5.8.0, <= 5.8.27>= 6.4.0, <= 6.4.18>= 6.5.0, <= 6.5.11>= 7.0.0, <= 7.0.6= 7.1.0 | - |
Blast radius
59% of the dependent artifacts (4,099) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 52,311 |
| 2 hops | 204,878 |
| 3 hops | 129,665 |
| 4 hops | 39,439 |
| 5 hops | 20,463 |
| 6 hops | 3,705 |
Most used dependents
- org.springframework.boot » spring-boot-starter-security3,610 usages
- org.springframework.security » spring-security-web2,138 usages
- org.springframework.security » spring-security-config2,068 usages
- org.springframework.security » spring-security-test1,310 usages
- org.jenkins-ci.main » jenkins-core1,191 usages
- com.atlassian.confluence » confluence724 usages
- com.vaadin » vaadin-maven-plugin600 usages
- com.atlassian.jira » jira-core554 usages
- org.springframework.security » spring-security-cas550 usages
- org.springframework.security » spring-security-oauth2-jose508 usages
- org.apereo.cas » cas-server-core-util-api492 usages
- org.springframework.security » spring-security-oauth2-client481 usages
- org.springframework.boot » spring-boot-security479 usages
- org.springframework.boot » spring-boot-starter-oauth2-resource-server465 usages
- org.springframework.security » spring-security-ldap457 usages
Computed from the dependency graph of build 20261125.2201 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | CVE record CVE-2026-59276 | github.com |
| Advisory | NVD CVE-2026-59276 | nvd.nist.gov |
| Web | security/cve-2026-59276 | spring.io |
