Spring Cloud Gateway Webflux SpEL Injection Vulnerability Allowing Exposure of Environment Variables
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-917.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| VMware | Spring Cloud Gateway Server Webflux | 3.1.x and later; 4.0.x and later; 4.1.x and later; 4.2.x and later; 4.3.x and later | — | No fix listed | CNA |
| — | org.springframework.cloud:spring-cloud-gateway-server (Maven) | 4.3.0 to before 4.3.2 | 4.3.2 | Patch available | GHSA-fwxx-wv44-7qfg |
| — | org.springframework.cloud:spring-cloud-gateway-server (Maven) | 4.2.0 to before 4.2.6 | 4.2.6 | Patch available | GHSA-fwxx-wv44-7qfg |
| — | org.springframework.cloud:spring-cloud-gateway-server (Maven) | 4.0.0 – 4.1.9 | — | No fix listed | GHSA-fwxx-wv44-7qfg |
| — | org.springframework.cloud:spring-cloud-gateway-server (Maven) | up to 3.1.10 | — | No fix listed | GHSA-fwxx-wv44-7qfg |
- Spring Cloud Gateway Server Webflux VendorVMware Affected 3.1.x and later; 4.0.x and later; 4.1.x and later; 4.2.x and later; 4.3.x and later Fixed in — No fix listed CNA
- org.springframework.cloud:spring-cloud-gateway-server (Maven) Vendor— Affected 4.3.0 to before 4.3.2 Fixed in 4.3.2 Patch available GHSA-fwxx-wv44-7qfg
- org.springframework.cloud:spring-cloud-gateway-server (Maven) Vendor— Affected 4.2.0 to before 4.2.6 Fixed in 4.2.6 Patch available GHSA-fwxx-wv44-7qfg
- org.springframework.cloud:spring-cloud-gateway-server (Maven) Vendor— Affected 4.0.0 – 4.1.9 Fixed in — No fix listed GHSA-fwxx-wv44-7qfg
- org.springframework.cloud:spring-cloud-gateway-server (Maven) Vendor— Affected up to 3.1.10 Fixed in — No fix listed GHSA-fwxx-wv44-7qfg
Remediation
- Fix · GHSA-fwxx-wv44-7qfg org.springframework.cloud:spring-cloud-gateway-server (Maven) Fixed in 4.3.2 Advisory →
- Fix · GHSA-fwxx-wv44-7qfg org.springframework.cloud:spring-cloud-gateway-server (Maven) Fixed in 4.2.6 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-41253
- 2026-10-03 Alias added: GHSA-fwxx-wv44-7qfg
References
More VMware vulnerabilities
- TI-2026-42442 vCenter directory-traversal vulnerability KEVCVSS 3.1CRITICAL 9.8
- TI-2024-26040 Privilege escalation in VMware vCenter Server KEVCVSS 3.1CRITICAL 9.8
- TI-2024-26039 Heap-overflow in VMware vCenter Server KEVCVSS 3.1CRITICAL 9.8
- TI-2024-24610 Out-of-bounds write in VMware vCenter Server KEVCVSS 3.1CRITICAL 9.8
- TI-2023-16914 VMware vCenter Server Out-of-Bounds Write Vulnerability KEVCVSS 3.1CRITICAL 9.8
- TI-2023-07303 Command injection in Aria Operations for Networks KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2025-41253 · CVE Program
- CVE-2025-41253 · NVD
- FIRST EPSS
- GHSA-fwxx-wv44-7qfg · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences