CVE-2025-41243: Spring Expression language property modification using Spring Cloud Gateway Server WebFlux
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.
Published Sep 16, 2025
Affected packages
org.springframework.cloud:spring-cloud-gateway-server-webflux
- Ecosystem
- Maven
- Affected
- >= 3.1.0, <= 3.1.10
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.springframework.cloud:spring-cloud-gateway-server-webflux
org.springframework.cloud:spring-cloud-gateway-server-webflux
- Ecosystem
- Maven
- Affected
- >= 4.0.0, <= 4.1.10
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.springframework.cloud:spring-cloud-gateway-server-webflux
org.springframework.cloud:spring-cloud-gateway-server-webflux
- Ecosystem
- Maven
- Affected
- >= 4.2.0, < 4.2.5
- Fixed in
- 4.2.5
- Check
mvn dependency:tree -Dincludes=org.springframework.cloud:spring-cloud-gateway-server-webflux
org.springframework.cloud:spring-cloud-gateway-server-webflux
- Ecosystem
- Maven
- Affected
- >= 4.3.0, < 4.3.1
- Fixed in
- 4.3.1
- Check
mvn dependency:tree -Dincludes=org.springframework.cloud:spring-cloud-gateway-server-webflux
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
