Skip to main content
← All vulnerabilities
CVE-2025-41253GHSA-FWXX-WV44-7QFG

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.3.2, 4.2.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • VMware Spring Cloud Gateway Server Webflux

    3.1.x, 4.0.x, 4.1.x, 4.2.x, 4.3.x

  • org.springframework.cloud:spring-cloud-gateway-serverMaven

    From 4.3.0 · fixed in 4.3.2

  • org.springframework.cloud:spring-cloud-gateway-serverMaven

    From 4.2.0 · fixed in 4.2.6

  • org.springframework.cloud:spring-cloud-gateway-serverMaven

    From 4.0.0 · through 4.1.9

  • org.springframework.cloud:spring-cloud-gateway-serverMaven

    through 3.1.10

References 2

spring.io

nvd.nist.gov