Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework.cloud/spring-cloud-gateway-server
  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. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.1.10, all versions starting from 4.0.0 up to 4.0.9, all versions starting from 4.1.0 before 4.1.8, all versions starting from 4.2.0 before 4.2.3

Fixed versions

  • 4.2.3
  • 4.1.8
  • 3.1.10

Solution

Upgrade to versions 3.1.10, 4.1.8, 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/CVE-2025-41235.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:17:24 +0000.