CVE-2025-41243 — Vulnerability in spring-cloud-gate…er-webflux
Spring Expression language property modification using Spring Cloud Gateway Server WebFlux
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (2.79%). Schedule for your next planned update.
Does your project use an affected org.springframework.cloud:spring-cloud-gateway-server-webflux version?
Paste your pom.xml to check it for CVE-2025-41243 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Spring Cloud Gateway Server Webflux may be vulnerable to Spring Environment property modification.
An application should be considered vulnerable when all the following are true:
- The application is using Spring Cloud Gateway Server Webflux (Spring Cloud Gateway Server WebMVC is not vulnerable).
- Spring Boot actuator is a dependency.
- The Spring Cloud Gateway Server Webflux actuator web endpoint is enabled via management.endpoints.web.exposure.include=gateway.
- The actuator endpoints are available to attackers.
- The actuator endpoints are unsecured.
Advisory Timeline
- First published September 16, 2025 (436 days ago).
- Last revised September 16, 2025 — 0 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 4.2.5 for org.springframework.cloud:spring-cloud-gateway-server-webflux -->
<!-- Update pom.xml dependency version to 4.3.1 for org.springframework.cloud:spring-cloud-gateway-server-webflux -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (4)
Affects 1 ecosystem: Maven (1).
| Package | Fixed In |
|---|---|
| org.springframework.cloud:spring-cloud-gateway-server-webflux Maven · Affected: All versions | Range-based data available |
| org.springframework.cloud:spring-cloud-gateway-server-webflux Maven · Affected: All versions | 4.2.5 |
| org.springframework.cloud:spring-cloud-gateway-server-webflux Maven · Affected: All versions | Range-based data available |
| org.springframework.cloud:spring-cloud-gateway-server-webflux Maven · Affected: 4.3.0 | 4.3.1 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-94Code InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 10.0 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2025-41243?
- Spring Expression language property modification using Spring Cloud Gateway Server WebFlux. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 10.0/10).
- How do I check if my project is affected by CVE-2025-41243?
- CVE-2025-41243 affects org.springframework.cloud:spring-cloud-gateway-server-webflux. It has a 2.8% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-41243 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This places it in the top quartile of EPSS-scored vulnerabilities — 87.1% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.
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-2026-107726CRITICAL
Hazelcast allows arbitrary member memory access by low-privileged client
- CVE-2026-107282CRITICAL
AsyncHttpClient: Replay to a different host sends the original host request and credentials to the new host
- CVE-2024-37084CRITICAL
Remote code execution in Spring Cloud Data Flow
- CVE-2026-22739HIGH
Spring Cloud Config Server: Path Traversal via Profile Parameter Allows Arbitrary File Access
- CVE-2025-41235HIGH
Spring Cloud Gateway Server Forwards Headers from Untrusted Proxies