Internet Explorer is no longer supported. Many things will still work, but your experience will be degraded and some things won't function. Please use a modern browser such as Edge, Chrome, or Firefox.

PGV-2568629 - Spring Expression language property modification using Spring Cloud Gateway Server WebFlux

Disclosed on September 16, 2025 (updated September 17, 2025)

Does Not Meet Category 5 Requirements

While this vulnerability can provide a path to RCE, that path depends on an insecure and non-default Spring Cloud Gateway deployment where the Gateway Actuator endpoint is explicitly exposed, reachable by an attacker, and unsecured. Under an MVSP, publicly exposed unauthenticated actuator endpoints are not a normal baseline assumption, so the RCE path is configuration-dependent rather than directly exploitable in typical deployments.

Vulnerability Overview

PGV-2568629 is a category 4 vulnerabilty that affects org.springframework.cloud/spring-cloud-gateway-server-webflux, versions ≥ 3.1.0 & ≤ 3.1.10, ≥ 4.0.0 & ≤ 4.1.10, ≥ 4.2.0 & < 4.2.5, ≥ 4.3.0 & < 4.3.1

Risk Assessment

The risk assessment shows that this vulnerability is exlpoited by a external attacker. An unauthorized external actor who attempts to exploit this vulnerability without legitimate access.

The impact is an environmental compromise. Exploitation can escape the application boundary and impact the host environment, infrastructure, or other services.

The threat damage is caused by a denial of service. Exploitation can completely deny access to the application, resulting in a full outage.is caused by a data breach. Exploitation can result in full access to data within the system.is caused by data tampering. Exploitation can result in modification of any data (authorized or not) within the system.

Vulnerability Details

Spring Cloud Gateway Server Webflux may be vulnerable to Spring Environment property modification.

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).
  • Spring Boot actuator is a dependency.
  • The Spring Cloud Gateway Server Webflux actuator web endpoint is enabled via management.endpoints.web.exposure.include=gateway.
  • The actuator endpoints are available to attackers.
  • The actuator endpoints are unsecured.

Common Weakness Enumerations

  • CWE-94 - Improper Control of Generation of Code ('Code Injection')
  • CWE-917 - Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')
Your Risk Profile
Network Exposure
External
Accessable from the public internet
Access Interface
WebBrowser
Primarily web-based applications
Service Outage
Disruptive
Operations would be impacted
Data Breach
Disruptive
Operations would be impacted
Data Tampering
Disruptive
Operations would be impacted
Customize
Additional Identifiers
  • CVE-2025-41243
  • GHSA-q2cj-h8fw-q4cc