MODERATE

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)

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

2affected artifacts
167affected versions
19,968dependent artifacts (est.)
729,206dependent versions

100% of the dependent artifacts (19,968) still pull an affected version in their latest release.

DepthDependent 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

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.