Skip to main content
← All vulnerabilities
CVE-2025-41235GHSA-6J2Q-C73V-97C5

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.2.3, 4.1.8, 3.1.10
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • Spring cloud Gateway

    Version range not reported

  • Spring cloud Gateway Server MVC

    Version range not reported

  • org.springframework.cloud:spring-cloud-gateway-serverMaven

    From 4.2.0 · fixed in 4.2.3

  • org.springframework.cloud:spring-cloud-gateway-serverMaven

    From 4.1.0 · fixed in 4.1.8

  • org.springframework.cloud:spring-cloud-gateway-serverMaven

    From 4.0.0 · through 4.0.9

  • org.springframework.cloud:spring-cloud-gateway-serverMaven

    fixed in 3.1.10

  • org.springframework.cloud:spring-cloud-gateway-server-mvcMaven

    From 4.1.7 · fixed in 4.2.3

References 1

spring.io