Vulnerability · Published Oct 16, 2025 · Assigned by vmware

CVE-2025-41253Spring Cloud Gateway Webflux SpEL Injection Vulnerability Allowing Exposure of Environment Variables

High 7.5

In plain English

A high-severity expression language injection in Spring Cloud Gateway Server Webflux from VMware. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.5%top 58.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.springframework.cloud:spring-cloud-gateway-server4.3.2GHSA-fwxx-wv44-7qfg
Mavenorg.springframework.cloud:spring-cloud-gateway-server4.2.6GHSA-fwxx-wv44-7qfg
Mavenorg.springframework.cloud:spring-cloud-gateway-serverno fix listedGHSA-fwxx-wv44-7qfg
Mavenorg.springframework.cloud:spring-cloud-gateway-serverno fix listedGHSA-fwxx-wv44-7qfg

Affected products (as reported)

VendorProductVersions
VMware Spring Cloud Gateway Server Webflux 3.1.x4.0.x4.1.x4.2.x4.3.x

Weakness: CWE-917 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References