CVE-2025-41235 Details
Description
Spring Cloud Gateway Server forwards the X-Forwarded-For and Forwarded headers from untrusted proxies.
A vulnerability exists in Spring Cloud Gateway Server and Spring Cloud Gateway Server MVC, where the 'X-Forwarded-For' and 'Forwarded' headers are forwarded from untrusted proxies. This behavior could potentially allow for the manipulation of request headers, leading to security issues.
Users should upgrade to Spring Cloud Gateway Server versions 4.3.0, 4.2.3, or 4.1.8, or to Spring Cloud Gateway Server MVC versions 4.2.3 or 4.1.8. After upgrading, 'X-Forwarded-*' and 'Forwarded' header functionality will be disabled by default. If this functionality is needed, 'spring.cloud.gateway.trusted-proxies' or 'spring.cloud.gateway.mvc.trusted-proxies' can be set to specify trusted proxies. If upgrading is not possible, 'X-Forwarded' and 'Forwarded' header functionality can be disabled.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 30, 2025CISA-ADP
Assessed May 30, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://spring.io/security/cve-2025-41235 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-444 | Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| Spring Cloud Gateway Server | >= 2.2.10.RELEASE, <= 4.2.2 >= 4.3.0-M1, <= 4.3.0-M2 (semver) >= 4.3.0-RC1 (semver) |
CPE
Remediation
| |
| Spring Cloud Gateway Server MVC | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 30, 2025 | CVE Modified | CISA-ADP |
| May 30, 2025 | New CVE Received | [email protected] |
Volerion