What’s Vulnerable › Vulnerabilities
CVE-2025-41235: CVE-2025-41235: Spring Cloud Gateway Server Forwards Headers from Untrusted Proxies
- Severity: high (CVSS 8.6 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-05-30 · updated 2026-06-17
- Weakness: CWE-444
Description
Spring Cloud Gateway Server forwards the X-Forwarded-For and Forwarded headers from untrusted proxies.
Affected products
- Spring Cloud Gateway: from 2.2.10.RELEASE - 4.2.2, 4.3.0-{M1, M2, RC1} before 4.3.0, 4.2.3, 4.1.8, 4.0.12, 3.1.10 — fixed in 3.1.10, 4.0.12, 4.1.8, 4.2.3, 4.3.0
- VMware Spring Cloud Gateway Server MVC: from 4.1.7 - 4.2.2, 4.3.0-{M1, M2, RC1} before 4.3.0, 4.2.3, 4.1.8 — fixed in 4.1.8, 4.2.3, 4.3.0
How to fix
Upgrade to a fixed version: Spring Cloud Gateway 3.1.10, 4.0.12, 4.1.8, 4.2.3; VMware Spring Cloud Gateway Server MVC 4.1.8, 4.2.3, 4.3.0. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2025-41235 or the next vulnerability affects your stack