VDB

CVE-2025-41235

CVE-2025-41235 PUBLISHED CVSS 8.6 HIGH

CVE-2025-41235: Spring Cloud Gateway Server Forwards Headers from Untrusted Proxies

Reported by vmware · Published May 30, 2025

spring-cloud-gateway-server is fixed in 4.2.3, 4.1.8, 4.0.9 and 1 more (Maven Central)

Spring Cloud Gateway Server forwards the X-Forwarded-For and Forwarded headers from untrusted proxies.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.springframework.cloud:spring-cloud-gateway-serverMaven Central4.2.3, 4.1.8, 4.0.9, 3.1.10
org.springframework.cloud:spring-cloud-gateway-server-mvcMaven Central4.2.3
Spring cloud GatewayVMware4.3.0, 4.2.3, 4.1.8, 4.0.12, 3.1.10
Spring cloud Gateway Server MVCVMware4.3.0, 4.2.3, 4.1.8

Risk scores

CVSS 3.1
8.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N

Affected products

VendorProductVersions
VMwareSpring cloud Gateway2.2.10.RELEASE - 4.2.2, 4.3.0-{M1, M2, RC1}
VMwareSpring Cloud Gateway Server MVC4.1.7 - 4.2.2, 4.3.0-{M1, M2, RC1}
VMwareSpring cloud Gateway2.2.10.RELEASE - 4.2.2, 4.3.0-{M1, M2, RC1}
Mavenorg.springframework.cloud:spring-cloud-gateway-server-mvc4.1.7
Mavenorg.springframework.cloud:spring-cloud-gateway-server4.1.0, 0, 4.0.0
VMwareSpring Cloud Gateway Server MVC4.1.7 - 4.2.2, 4.3.0-{M1, M2, RC1}

Timeline

  • May 29, 2025 CVE Published
  • May 30, 2025 EPSS Score (30 in total, the first dated here)
  • Jun 16, 2025 Coalition ESS Score (7 in total, the first dated here)
  • Mar 18, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-41235
vulnetix vdb fixes CVE-2025-41235

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-41235/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›