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

ProductAffected versionsFixed in
org.springframework.cloud:spring-cloud-gateway-serverMaven4.2.0 ≤ v < 4.2.3, 4.1.0 ≤ v < 4.1.8, 4.0.0 ≤ v ≤ 4.0.9, v < 3.1.104.2.3, 4.1.8, 3.1.10
org.springframework.cloud:spring-cloud-gateway-server-mvcMaven4.1.7 ≤ v < 4.2.34.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.

CVE-2025-41235 · Org.springframework.cloud:spring-cloud-gateway-server · Dark Radar