
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-41243 is a critical Spring Expression Language (SpEL) injection vulnerability in Spring Cloud Gateway Server WebFlux that allows unauthenticated remote attackers to modify Spring Environment properties, potentially leading to full system compromise. It was initially reported on September 8, 2025, and publicly disclosed on September 16, 2025. Affected versions include Spring Cloud Gateway 3.1.0–3.1.x (before 3.1.11), 4.0.0–4.1.x (before 4.1.11), 4.2.0–4.2.x (before 4.2.5), and 4.3.0–4.3.x (before 4.3.1); Spring Cloud Gateway Server WebMVC is not affected. The vulnerability carries a CVSS v3.1 base score of 10.0 (Critical) (Spring Advisory, GitHub Advisory).
The root cause is improper neutralization of special elements in an Expression Language statement (CWE-94, CWE-917), allowing code injection via the Spring Cloud Gateway actuator endpoint. When the gateway actuator web endpoint is exposed and unsecured (management.endpoints.web.exposure.include=gateway), an unauthenticated attacker can send crafted HTTP requests to manipulate Spring Environment properties using SpEL expressions. Exploitation requires five concurrent conditions: use of the WebFlux variant (not WebMVC), Spring Boot Actuator as a dependency, the gateway actuator endpoint enabled and exposed to the network, and the endpoint left unsecured without authentication. A public proof-of-concept exploit exists at https://github.com/SFN233/CVE-2025-41243-Vulnerability-Lab, and a technical write-up is available at https://psytester.github.io/CVE-2025-41243_Spring_SpEL_property_modification (Spring Advisory, GitHub Advisory).
Successful exploitation allows unauthenticated remote attackers to inject malicious SpEL expressions into the Spring Environment configuration, resulting in complete system compromise across confidentiality, integrity, and availability dimensions. Attackers can gain unauthorized access to sensitive application data, modify application behavior and routing logic, and potentially cause denial-of-service conditions. The changed scope in the CVSS rating indicates that a compromised gateway component can impact resources beyond its own security boundary, enabling lateral movement within microservice architectures that rely on the gateway for routing and access control (Spring Advisory, GitHub Advisory).
/actuator/gateway or /actuator/gateway/routes. A successful response (HTTP 200) without authentication confirms the endpoint is exposed and unsecured./actuator/gateway/env or similar property-setting endpoints) that accept POST requests.{"name": "spring.cloud.gateway.x", "value": "#{T(java.lang.Runtime).getRuntime().exec('id')}"})./actuator/gateway or sub-paths (e.g., /actuator/gateway/env, /actuator/gateway/refresh) from external or untrusted IP addresses; outbound connections from the gateway server to unknown external hosts following actuator access.org.springframework.expression or EvaluationException in unexpected contexts.sh, bash, curl, wget, python); unexpected network connections initiated by the JVM process.Upgrade Spring Cloud Gateway to the following patched versions: 3.1.11 (Enterprise), 4.1.11 (covers 4.0.x and 4.1.x), 4.2.5, or 4.3.1 (OSS), depending on the currently deployed version. If immediate upgrade is not possible, remove gateway from the management.endpoints.web.exposure.include configuration property to disable the vulnerable actuator endpoint, or secure the actuator endpoints by requiring authentication via Spring Security. Additionally, implement network-level access controls (firewall rules, API gateway policies) to restrict actuator endpoint access to trusted internal sources only. Audit all deployments to identify instances meeting all five vulnerability conditions and prioritize patching of exposed, unsecured instances (Spring Advisory, GitHub Advisory).
Spring (Broadcom/VMware) published the official security advisory on September 8, 2025, crediting researcher Ezzer17 for responsible disclosure. VMware Tanzu published a blog post titled "The $5 Million Question: What Is Your Spring Cloud Gateway Vulnerability Really Costing You," highlighting the business risk of unpatched instances. SecurityOnline.info covered the vulnerability and the subsequent PoC release, noting the CVSS 10.0 score. The vulnerability appeared in the CISA weekly vulnerability bulletin (SB25-265) and was featured in community roundups such as the CVEWatch subreddit's trending CVEs list. Nuclei templates from ProjectDiscovery and Emerging Threats IDS rules were rapidly developed and released, reflecting strong community engagement in detection tooling (Spring Advisory, GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."