CVE-2025-41253

published 16 Oct 2025 · updated 16 Oct 2025

Spring Cloud Gateway Webflux SpEL Injection Vulnerability Allowing Exposure of Environment Variables

7.5HighCVSS 7.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
VMwareSpring Cloud Gateway=3.1.x, =4.0.x, =4.1.x, =4.2.x, =4.3.x

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Spring Cloud Gateway, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-41253 severity on Zeptric[![CVE-2025-41253](https://zeptric.io/badge/cve/CVE-2025-41253.svg)](https://zeptric.io/cve/CVE-2025-41253)