HIGH 8.6
CVE-2025-41235
Spring Cloud Gateway Server Forwards Headers from Untrusted Proxies
Description
Spring Cloud Gateway Server forwards the X-Forwarded-For and Forwarded headers from untrusted proxies.
Affected Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework.cloud » spring-cloud-gateway-server | < 3.1.10>= 4.0.0, <= 4.0.9>= 4.1.0, < 4.1.8>= 4.2.0, < 4.2.3 | 3.1.10, 4.1.8, 4.2.3 |
| org.springframework.cloud » spring-cloud-gateway-server-mvc | >= 4.1.7, < 4.2.3 | 4.2.3 |
Blast radius
2affected artifacts
63affected versions
56dependent artifacts (est.)
479dependent versions
57% of the dependent artifacts (32) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 197 |
| 2 hops | 271 |
| 3 hops | 11 |
Most used dependents
- org.springframework.cloud » spring-cloud-starter-gateway325 usages
- org.springframework.cloud » spring-cloud-gateway-core33 usages
- org.springframework.cloud » spring-cloud-starter-gateway-mvc5 usages
- com.github.fanzezhen.common » common-gateway2 usages
- net.bretti.openapi-route-definition-locator » openapi-route-definition-locator-core1 usages
- com.codbex.phoebe » codbex-phoebe-application1 usages
- com.contentgrid.thunx » thunx-spring-gateway1 usages
- io.github.breninsul » webflux-logging1 usages
- io.owlframework » owl-swagger-gateway-spring-boot-starter1 usages
- cn.infrabase » infrabase-cloud-gateway1 usages
- cn.koala.cloud » koala-cloud-gateway-server1 usages
- com.alipay.sofa » spring-cloud-starter-sofa-mesh-discovery1 usages
- com.github.sdp-tech-nj » sdp-spring-reactive-cloud-service1 usages
- me.ahoo.cosec » cosec-gateway1 usages
- org.springframework.cloud » spring-cloud-gateway-docs0 usages
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
| Advisory | NVD CVE-2025-41235 | nvd.nist.gov |
| Package | spring-cloud/spring-cloud-gateway | github.com |
| Web | security/cve-2025-41235 | spring.io |
