CVE-2026-40972
Spring Boot DevTools remote secret comparison is vulnerable to timing attacks
Description
An attacker on the same network as the remote application may be able to utilize a timing attack to discover information about the remote secret. In extreme circumstances this could result in the attacker determining the secret and uploading changed classes, thereby achieving remote code execution in the remote application.
Affected: Spring Boot 4.0.0–4.0.5 (fix 4.0.6), 3.5.0–3.5.13 (fix 3.5.14), 3.4.0–3.4.15 (fix 3.4.16), 3.3.0–3.3.18 (fix 3.3.19), 2.7.0–2.7.32 (fix 2.7.33); DevTools remote secret comparison. Versions that are no longer supported are also affected per vendor advisory.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework.boot » spring-boot-devtools | <= 2.7.32>= 3.3.0, <= 3.3.18>= 3.4.0, <= 3.4.15>= 3.5.0, < 3.5.14>= 4.0.0, < 4.0.6 | 3.5.14, 4.0.6 |
Blast radius
43% of the dependent artifacts (420) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 17,564 |
| 2 hops | 2,455 |
| 3 hops | 1,228 |
| 4 hops | 79 |
Most used dependents
- org.apereo.cas » cas-server-core-util-api492 usages
- org.apereo.cas » cas-server-core-configuration-api442 usages
- org.apereo.cas » cas-server-core-authentication-api400 usages
- org.apereo.cas » cas-server-core-api-test-category335 usages
- org.apereo.cas » cas-server-core-util296 usages
- org.apereo.cas » cas-server-core-web-api288 usages
- org.apereo.cas » cas-server-core-services280 usages
- org.apereo.cas » cas-server-core-configuration264 usages
- org.apereo.cas » cas-server-core-services-api243 usages
- org.apereo.cas » cas-server-core-authentication232 usages
- org.apereo.cas » cas-server-core-web212 usages
- org.apereo.cas » cas-server-core-tickets182 usages
- org.apereo.cas » cas-server-core-services-authentication155 usages
- org.apereo.cas » cas-server-core-webflow153 usages
- org.apereo.cas » cas-server-core-webflow-api150 usages
Computed from the dependency graph of build 20261124.0621 (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 | NVD CVE-2026-40972 | nvd.nist.gov |
| Package | spring-projects/spring-boot | github.com |
| Web | security/cve-2026-40972 | spring.io |
