CVE-2025-41253
Spring Cloud Gateway Server Webflux is vulnerable to Expression Language Injection
Reported by vmware · Published October 16, 2025
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.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| VMware | Spring Cloud Gateway Server Webflux | 3.1.x, 4.0.x, 4.1.x |
| VMware | Spring Cloud Gateway Server Webflux | 4.0.x, 4.3.x, 4.2.x |
| Maven | org.springframework.cloud:spring-cloud-gateway-server-webflux | 3.1.0 |
| Maven | org.springframework.cloud:spring-cloud-gateway-server | 0, 4.0.0, 4.2.0 |
Timeline
- Apr 28, 2025 PoC Published (50 in total, the first dated here)
- Oct 15, 2025 CVE Published
- Oct 16, 2025 Coalition ESS Score (12 in total, the first dated here)
- Oct 17, 2025 EPSS Score (30 in total, the first dated here)
- Mar 17, 2026 Security Advisory (2 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-41253
vulnetix vdb fixes CVE-2025-41253
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-41253/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart