CVE-2025-41253
Published:October 16, 2025
Updated:May 17, 2026
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 Packages
https://github.com/spring-cloud/spring-cloud-gateway.git (GITHUB):
Affected version(s) >=v1.0.0.M1 <v4.2.6Fix Suggestion:
Update to version v4.2.6https://github.com/spring-cloud/spring-cloud-gateway.git (GITHUB):
Affected version(s) >=v4.3.0 <v4.3.2Fix Suggestion:
Update to version v4.3.2org.springframework.cloud:spring-cloud-gateway-server (JAVA):
Affected version(s) >=2.2.6.RELEASE <4.2.6Fix Suggestion:
Update to version 4.2.6org.springframework.cloud:spring-cloud-gateway-server (JAVA):
Affected version(s) >=4.2.0 <4.2.6Fix Suggestion:
Update to version 4.2.6org.springframework.cloud:spring-cloud-gateway-server (JAVA):
Affected version(s) >=4.3.0 <4.3.2Fix Suggestion:
Update to version 4.3.2Related Resources (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')
EPSS
Base Score:
0.05