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)

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

DepthDependent versions
Direct
197
2 hops
271
3 hops
11

Most used dependents

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

Advisorynvd.nist.gov
Packagegithub.com
Webspring.io