CVE-2026-59425
Spring Cloud Gateway JsonToGrpc Filter Leaks gRPC ManagedChannel Resources
Description
Spring Cloud Gateway's JsonToGrpc filter creates a new Netty-backed gRPC ManagedChannel for every HTTP request that matches a route using the filter. The channel is never shut down or reused, so its socket and channel resources remain open after the request completes.
An unauthenticated attacker who can reach a route that uses the JsonToGrpc filter can send repeated requests and cause the gateway to retain open sockets and channel resources, resulting in a denial of service. Applications are affected only if they expose a route configured with the JsonToGrpc filter.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework.cloud » spring-cloud-gateway-server | >= 3.1.4, <= 3.1.14>= 4.2.0, <= 4.2.10>= 4.3.0, <= 4.3.6>= 5.0.0, < 5.0.5 | 5.0.5 |
Blast radius
62% of the dependent artifacts (25) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 136 |
| 2 hops | 157 |
| 3 hops | 39 |
| 4 hops | 56 |
Most used dependents
- org.springframework.cloud » spring-cloud-starter-gateway325 usages
- org.springframework.cloud » spring-cloud-starter-gateway-server-webflux88 usages
- org.springframework.cloud » spring-cloud-gateway-server-webflux31 usages
- io.github.appiaworks » shiguchi-spring-boot3-autoconfigure6 usages
- net.bretti.openapi-route-definition-locator » openapi-route-definition-locator-core1 usages
- com.contentgrid.thunx » thunx-spring-gateway1 usages
- com.github.sdp-tech-nj » sdp-spring-reactive-cloud-service1 usages
- io.github.appiaworks » shiguchi-graphql-spring-boot3-starter1 usages
- io.github.appiaworks » shiguchi-openapi-spring-boot3-starter1 usages
- io.owlframework » owl-swagger-gateway-spring-boot-starter1 usages
- com.alipay.sofa » spring-cloud-starter-sofa-mesh-discovery1 usages
- org.eclipse.ecsp » api-gateway0 usages
- org.apache.syncope » syncope-sra0 usages
- org.eclipse.lmos » lmos-router-llm-in-spring-cloud-gateway-demo0 usages
- net.bretti.openapi-route-definition-locator » openapi-route-definition-locator-spring-cloud-starter0 usages
Computed from the dependency graph of build 20261127.1117 (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.
