CVE-2025-41235 — Vulnerability in...
Spring Cloud Gateway Server Forwards Headers from Untrusted Proxies
Summary
Advisory Timeline
- First published May 30, 2025 (500 days ago).
- Last revised September 10, 2026 — 468 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 4.2.3 for org.springframework.cloud:spring-cloud-gateway-server -->
<!-- Update pom.xml dependency version to 4.1.8 for org.springframework.cloud:spring-cloud-gateway-server -->
<!-- Update pom.xml dependency version to 4.2.3 for org.springframework.cloud:spring-cloud-gateway-server-mvc -->
<!-- Update pom.xml dependency version to 3.1.10 for org.springframework.cloud:spring-cloud-gateway-server -->
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (5)
Affects 1 ecosystem: maven (2).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| org.springframework.cloud:spring-cloud-gateway-server | maven | 4.2.0, 4.2.1, 4.2.2 | 4.2.3 |
| org.springframework.cloud:spring-cloud-gateway-server | maven | 4.1.0, 4.1.1, 4.1.2, 4.1.3 (+4 more) | 4.1.8 |
| org.springframework.cloud:spring-cloud-gateway-server-mvc | maven | 4.1.7, 4.1.8, 4.1.9, 4.2.0 (+2 more) | 4.2.3 |
| org.springframework.cloud:spring-cloud-gateway-server | maven | 2.2.10.RELEASE, 2.2.6.RELEASE, 2.2.7.RELEASE, 2.2.8.RELEASE (+20 more) | 3.1.10 |
| org.springframework.cloud:spring-cloud-gateway-server | maven | 4.0.0, 4.0.1, 4.0.2, 4.0.3 (+6 more) | Range-based data available |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-444
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.6 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
References
Frequently Asked Questions
- What is CVE-2025-41235?
- Spring Cloud Gateway Server Forwards Headers from Untrusted Proxies This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.6/10).
- How do I check if my project is affected by CVE-2025-41235?
- CVE-2025-41235 affects org.springframework.cloud:spring-cloud-gateway-server and org.springframework.cloud:spring-cloud-gateway-server-mvc. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-41235 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2022-22947CRITICAL
Spring Cloud Gateway vulnerable to Code Injection when Gateway Actuator endpoint enabled, exposed, unsecured
- CVE-2026-40982CRITICAL
Spring Cloud Config vulnerable to Path Traversal
- CVE-2024-37084CRITICAL
Remote code execution in Spring Cloud Data Flow
- CVE-2025-41243CRITICAL
Spring Expression language property modification using Spring Cloud Gateway Server WebFlux
- CVE-2026-22739HIGH
Spring Cloud Config Server: Path Traversal via Profile Parameter Allows Arbitrary File Access
- CVE-2026-61570HIGH
MPXJ: XXE Vulnerability in MerlinReader
- CVE-2026-107725HIGH
Hazelcast has an authorization bypass in IMap Predicates API
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies