GitHub Advisoryadvisory · Maven

GHSA-fwxx-wv44-7qfg Spring Cloud Gateway Server Webflux is vulnerable to Expression Language Injection

HIGH Published 2025-10-16 Modified 2026-02-19 Official page ↗
Aliases
CVE-2025-41253
Ecosystem
Maven
Packages
org.springframework.cloud:spring-cloud-gateway-server
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-917
Reviewed
2025-10-16

Affected packages

• Maven org.springframework.cloud:spring-cloud-gateway-server: >= 4.3.0, < 4.3.2 → fixed in 4.3.2 • Maven org.springframework.cloud:spring-cloud-gateway-server: >= 4.2.0, < 4.2.6 → fixed in 4.2.6 • Maven org.springframework.cloud:spring-cloud-gateway-server: >= 4.0.0, <= 4.1.9 (no fix yet) • Maven org.springframework.cloud:spring-cloud-gateway-server: <= 3.1.10 (no fix yet)

Description

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.

Related

Alias · CVE (1)

  • CVE-2025-41253 The following versions of Spring Cloud Gateway Server Webflux may be vulnerable to the ability to expose environment variables and system… vulnerability

Weakness · CWE (1)

  • CWE-917 Improper Neutralization of Special Elements used in an Expression Language Statement weakness

References