High · published June 16, 2026
Spring Cloud Gateway Server forwards the X-Forwarded-For and Forwarded headers from untrusted proxies in certain configuration scenarios. This affects both the WebMVC and WebFlux Gateway Servers.
Affected versions:
Spring Cloud Gateway 3.1.x (fix 3.1.13).
Spring Cloud Gateway 4.1.x (fix 4.1.13).
Spring Cloud Gateway 4.2.x (fix 4.2.9).
Spring Cloud Gateway 4.3.x (fix 4.3.5).
Spring Cloud Gateway 5.0.x (fix 5.0.2).
| Product | Versions | Fixed in |
|---|---|---|
| vmware/spring_cloud_gateway | ≤ 3.1.10 | — |
| vmware/spring_cloud_gateway | ≥ 4.0.0, < 4.1.13 | 4.1.13 |
| vmware/spring_cloud_gateway | ≥ 4.2.0, < 4.2.9 | 4.2.9 |
| vmware/spring_cloud_gateway | ≥ 4.3.0, < 4.3.4.1 | 4.3.4.1 |
| vmware/spring_cloud_gateway | ≥ 5.0.0, < 5.0.1.1 | 5.0.1.1 |