What’s Vulnerable › Vulnerabilities
CVE-2026-47825: Spring Cloud Gateway Server Forwards Headers from Untrusted Proxies in certain situations
- Severity: high (CVSS 8.6 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-15 · updated 2026-10-25
- Weakness: CWE-346
Description
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).
Affected products
- Spring Cloud Gateway: through 3.1.10; from 4.0.0 before 4.1.13; from 4.2.0 before 4.2.9; from 4.3.0 before 4.3.4.1; from 5.0.0 before 5.0.1.1 — fixed in 4.1.13, 4.2.9, 4.3.4.1, 5.0.1.1
- Spring Cloud Gateway: from 3.1.0 before 3.1.13; from 4.1.0 before 4.1.13; from 4.2.0 before 4.2.9; from 4.3.0 before 4.3.4.1; from 5.0.0 before 5.0.1.1 — fixed in 3.1.13, 4.1.13, 4.2.9, 4.3.4.1, 5.0.1.1
How to fix
Upgrade to a fixed version: Spring Cloud Gateway 4.1.13, 4.2.9, 4.3.4.1, 5.0.1.1; Spring Cloud Gateway 3.1.13, 4.1.13, 4.2.9, 4.3.4.1. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-47825 or the next vulnerability affects your stack