CVE-2025-41235
High
Description
Spring Cloud Gateway Server forwards the X-Forwarded-For and Forwarded headers from untrusted proxies.
SeverityHigh
CVSS8.6
Exploit probability—
ProductOrg.springframework.cloud:spring-cloud-gateway-server
PublishedMay 30, 2025
First seenMay 30, 2025
Weakness typeCWE-444CWE-444
How to fix
Update
- org.springframework.cloud:spring-cloud-gateway-server4.2.3, 4.1.8, 3.1.10 or later
- org.springframework.cloud:spring-cloud-gateway-server-mvc4.2.3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.springframework.cloud:spring-cloud-gateway-serverMaven | 4.2.0 ≤ v < 4.2.3, 4.1.0 ≤ v < 4.1.8, 4.0.0 ≤ v ≤ 4.0.9, v < 3.1.10 | 4.2.3, 4.1.8, 3.1.10 |
| org.springframework.cloud:spring-cloud-gateway-server-mvcMaven | 4.1.7 ≤ v < 4.2.3 | 4.2.3 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.