Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework.cloud/spring-cloud-gateway-server-mvc
  4. ›
  5. CVE-2025-41235

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

May 30, 2025 (updated July 28, 2025)

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

References

  • github.com/advisories/GHSA-6j2q-c73v-97c5
  • github.com/spring-cloud/spring-cloud-gateway
  • nvd.nist.gov/vuln/detail/CVE-2025-41235
  • spring.io/security/cve-2025-41235

Code Behaviors & Features

Detect and mitigate CVE-2025-41235 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 4.1.7 before 4.2.3

Fixed versions

  • 4.2.3

Solution

Upgrade to version 4.2.3 or above.

Impact 8.6 HIGH

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

Learn more about CVSS

Weakness

  • CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')

Source file

maven/org.springframework.cloud/spring-cloud-gateway-server-mvc/CVE-2025-41235.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:18:51 +0000.