CVE-2026-59419
Spring Framework Denial of Service with HTTP client observations
Description
Spring applications that send HTTP client requests with an HTTP method derived from untrusted input may be vulnerable to a denial of service attack.
Specifically, an application is vulnerable when all the following conditions are met:
The application is using RestClient, RestTemplate or WebClient with an ObservationRegistry configured and Micrometer metrics enabled The application uses the default ClientRequestObservationConvention The application sends HTTP client requests with an HTTP method chosen by a remote user, for example by forwarding the method of an incoming request to a downstream service The configured ClientHttpRequestFactory or ClientHttpConnector accepts non-standard HTTP methods
When all conditions are met, an attacker can send many requests with distinct HTTP methods that each create a new http.client.requests metric, eventually exhausting the application memory.
Affected Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework » spring-web | >= 6.0.0, <= 6.0.32>= 6.1.0, <= 6.1.29>= 6.2.0, <= 6.2.20>= 7.0.0, < 7.0.11 | 7.0.11 |
| org.springframework » spring-webflux | >= 6.0.0, <= 6.0.32>= 6.1.0, <= 6.1.29>= 6.2.0, <= 6.2.20>= 7.0.0, < 7.0.11 | 7.0.11 |
Blast radius
100% of the dependent artifacts (19,968) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 72,364 |
| 2 hops | 216,132 |
| 3 hops | 262,985 |
| 4 hops | 139,518 |
| 5 hops | 33,067 |
| 6 hops | 5,140 |
Most used dependents
- org.springframework.boot » spring-boot-starter-web19,088 usages
- org.springframework » spring-webmvc7,543 usages
- org.springframework.boot » spring-boot-starter-security3,609 usages
- org.springframework.boot » spring-boot-starter-webflux2,764 usages
- org.springframework.security » spring-security-web2,136 usages
- org.springframework.cloud » spring-cloud-starter-openfeign1,389 usages
- org.springframework.cloud » spring-cloud-context1,345 usages
- org.springframework.boot » spring-boot-starter-websocket1,319 usages
- org.springframework.security » spring-security-test1,310 usages
- org.springframework » spring-webflux1,285 usages
- org.jenkins-ci.main » jenkins-core1,191 usages
- org.springframework.boot » spring-boot-starter-thymeleaf1,159 usages
- org.springframework.cloud » spring-cloud-starter-bootstrap1,056 usages
- org.springdoc » springdoc-openapi-starter-webmvc-ui1,042 usages
- org.springframework.cloud » spring-cloud-starter-config978 usages
Computed from the dependency graph of build 20261125.0317 (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.
