MODERATE 5.9

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)

ArtifactAffected versionsFixed 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

1affected artifacts
75affected versions
6,930dependent artifacts (est.)
450,461dependent versions

59% of the dependent artifacts (4,099) still pull an affected version in their latest release.

DepthDependent 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

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

Advisorygithub.com
Advisorynvd.nist.gov
Webspring.io