CVE-2025-41243
Java vulnerability analysis and mitigation

Overview

A critical vulnerability (CVE-2025-41243) was discovered in Spring Cloud Gateway Server WebFlux, disclosed on September 8, 2025. The vulnerability allows attackers to modify Spring Environment properties through the Spring Expression Language when specific conditions are met. This flaw affects Spring Cloud Gateway versions ranging from 3.1.0 through 4.3.x, with a maximum CVSS score of 10.0 (Spring Advisory, Security Online).

Technical details

The vulnerability is triggered when all of the following conditions are present: the application uses Spring Cloud Gateway Server WebFlux (Spring Cloud Gateway Server WebMVC is not affected), Spring Boot actuator is included as a dependency, the Gateway Server WebFlux actuator web endpoint is enabled via management.endpoints.web.exposure.include=gateway, and the actuator endpoints are both available and unsecured. The flaw has been assigned a CVSS score of 10.0, indicating the highest possible severity level (Spring Advisory).

Impact

When successfully exploited, this vulnerability allows attackers to manipulate sensitive Spring Environment properties, potentially compromising application behavior. Given that Spring Cloud Gateway is commonly deployed in microservices architectures as a reactive API gateway at enterprise network edges, the impact could be particularly severe when actuator endpoints are exposed without proper security controls (Security Online).

Mitigation and workarounds

Spring has released patched versions: 4.3.1 (OSS) for 4.3.x, 4.2.5 (OSS) for 4.2.x, 4.1.11 (Enterprise) for 4.1.x, and 3.1.11 (Enterprise) for 3.1.x users. For those unable to upgrade immediately, alternative mitigations include removing 'gateway' from the management.endpoints.web.exposure.include property or implementing proper security controls for actuator endpoints (Spring Advisory).

Community reactions

The vulnerability was responsibly reported by security researcher Ezzer17. The critical nature of the vulnerability and its maximum CVSS score has drawn significant attention in the security community, particularly given Spring Cloud Gateway's widespread use in enterprise environments (Spring Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-41243CRITICAL10
  • JavaJava
  • org.springframework.cloud:spring-cloud-gateway-server-webflux
NoYesSep 16, 2025
CVE-2025-43801MEDIUM6.9
  • JavaJava
  • cpe:2.3:a:liferay:liferay_portal
NoYesSep 16, 2025
GHSA-3wfh-36rx-9537MEDIUM6.6
  • JavaJava
  • com.ongres.scram:scram-common
NoYesSep 16, 2025
CVE-2025-43797MEDIUM5.3
  • JavaJava
  • cpe:2.3:a:liferay:liferay_portal
NoYesSep 15, 2025
CVE-2025-43802MEDIUM4.8
  • JavaJava
  • com.liferay.workspace:com.liferay.ticket.workspace
NoYesSep 15, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management