Every CVE Search/ Get API key

CVE-2025-41253

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

7.5 HighFix available

CVE-2025-41253 is a high vulnerability (CVSS 7.5) in Vmware Spring Cloud Gateway Server Webflux, published October 16, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.48%, the 41st percentile. Fixed in org.springframework.cloud:spring-cloud-gateway-server 4.3.2.

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
None

Exploit likelihood

0.48%Up 0.4 points since Oct 17, 2025
90%50%10%1%

What each source reports

CVE List Score used 7.5

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

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.
Record
CVE-2025-41253
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-917
Updated
2026-11-02
EUVDEUVD-2025-34761 7.5

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.
Record
EUVD-2025-34761
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-fwxx-wv44-7qfg 7.5

Spring Cloud Gateway Server Webflux is vulnerable to Expression Language Injection

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.
Record
GHSA-fwxx-wv44-7qfg
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-917
Updated
2026-11-02
NVD 7.5

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.
Record
CVE-2025-41253
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-917
Updated
2026-11-02
OSVGHSA-fwxx-wv44-7qfg 7.5

Spring Cloud Gateway Server Webflux is vulnerable to Expression Language Injection

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.
Record
GHSA-fwxx-wv44-7qfg
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-917
Updated
2026-11-02
OSVROOT-APP-MAVEN-CVE-2025-41253 No score

CVE-2025-41253 in org.springframework.cloud:spring-cloud-gateway-server - Patched by Root

Root has patched CVE-2025-41253 in the org.springframework.cloud:spring-cloud-gateway-server package for Root:Maven. Multiple fixed versions available.

Record
ROOT-APP-MAVEN-CVE-2025-41253
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.springframework.cloud:spring-cloud-gateway-server
Maven
4.3.0 up to 4.3.2
4.3.2
org.springframework.cloud:spring-cloud-gateway-server
Maven
4.2.0 up to 4.2.6
4.2.6
org.springframework.cloud:spring-cloud-gateway-server
Maven
4.0.0 to 4.1.9 None known
org.springframework.cloud:spring-cloud-gateway-server
Maven
through 3.1.10 None known
org.springframework.cloud:spring-cloud-gateway-server
Maven
4.3.0 up to 4.3.2, plus listed versions
4.3.1
4.3.2
org.springframework.cloud:spring-cloud-gateway-server
Maven
4.2.0 up to 4.2.6, plus listed versions
4.2.14.2.24.2.34.2.44.2.5
4.2.6
org.springframework.cloud:spring-cloud-gateway-server
Maven
4.0.0 to 4.1.9, plus listed versions
4.0.14.0.24.0.34.0.44.0.5
Show 13 moreShow less
4.0.64.0.74.0.84.0.94.1.04.1.14.1.24.1.34.1.44.1.54.1.64.1.74.1.8
None known
org.springframework.cloud:spring-cloud-gateway-server
Maven
through 3.1.10, plus listed versions
2.2.10.RELEASE2.2.6.RELEASE2.2.7.RELEASE2.2.8.RELEASE2.2.9.RELEASE
Show 19 moreShow less
3.0.03.0.13.0.23.0.33.0.43.0.53.0.63.0.73.0.83.1.03.1.13.1.23.1.33.1.43.1.53.1.63.1.73.1.83.1.9
None known
org.springframework.cloud:spring-cloud-gateway-server
Root:Maven
before 4.3.0-aikido.1
4.3.0-aikido.1
io.root.org.springframework.cloud:spring-cloud-gateway-server
Root:Maven
before 4.3.0-root.io.1
4.3.0-root.io.1

History

History
WhenChangedSources
2026-11-02createdCVE List, EUVD, GitHub Advisories, NVD, OSV

References

MoveEnter Open