NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

CVE-2025-41253: Spring Cloud Gateway Server Webflux is vulnerable to Expression Language Injection

highCVSS 3.1 7.5GHSA-fwxx-wv44-7qfg

The following versions of Spring Cloud Gateway Server Webflux may be vulnerable to the ability to expose environment variables and system properties to attackers. 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).

Published Oct 16, 2025 · Updated Feb 19, 2026

Affected packages

org.springframework.cloud:spring-cloud-gateway-server

Ecosystem
Maven
Affected
>= 4.3.0, < 4.3.2
Fixed in
4.3.2
Check
mvn dependency:tree -Dincludes=org.springframework.cloud:spring-cloud-gateway-server

org.springframework.cloud:spring-cloud-gateway-server

Ecosystem
Maven
Affected
>= 4.2.0, < 4.2.6
Fixed in
4.2.6
Check
mvn dependency:tree -Dincludes=org.springframework.cloud:spring-cloud-gateway-server

org.springframework.cloud:spring-cloud-gateway-server

Ecosystem
Maven
Affected
>= 4.0.0, <= 4.1.9
Fixed in
No patched version yet
Check
mvn dependency:tree -Dincludes=org.springframework.cloud:spring-cloud-gateway-server

org.springframework.cloud:spring-cloud-gateway-server

Ecosystem
Maven
Affected
<= 3.1.10
Fixed in
No patched version yet
Check
mvn dependency:tree -Dincludes=org.springframework.cloud:spring-cloud-gateway-server

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

The following versions of Spring Cloud Gateway Server Webflux may be vulnerable to the ability to expose environment variables and system properties to attackers.

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).
  • An admin or untrusted third party using Spring Expression Language (SpEL) to access environment variables or system properties via routes.
  • An untrusted third party could create a route that uses SpEL to access environment variables or system properties if: * The Spring Cloud Gateway Server Webflux actuator web endpoint is enabled via management.endpoints.web.exposure.include=gateway and management.endpoint.gateway.enabled=trueor management.endpoint.gateway.access=unrestricte.
  • The actuator endpoints are available to attackers.
  • The actuator endpoints are unsecured.

Credited to scottfrederick.

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

More Maven vulnerabilities

All Maven entries