CVE-2025-41243Spring Cloud Gateway Code Injection
NVDCVSS scored by security@vmware.com
Vulnerability Summary
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.
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.
CVSS v3.1 Base Metrics — Score 10.0 (CRITICAL)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeChanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
Affected & Patched Versions
- Spring Cloud Gateway >= 4.3.x and < 4.3.1
- Spring Cloud Gateway >= 4.2.x and < 4.2.5
- Spring Cloud Gateway >= 4.1.x, 4.0.x and < 4.1.11
- Spring Cloud Gateway >= 3.1.x and < 3.1.11
- Spring Cloud Gateway 4.3.1
- Spring Cloud Gateway 4.2.5
- Spring Cloud Gateway 4.1.11
- Spring Cloud Gateway 3.1.11
What to do
Prioritize this fix. Exploit code is public, so attacks can follow quickly.
- Check whether you run Spring Cloud Gateway and which version.
- Update to a patched version listed above, then confirm the new version.
- Review logs and exposed services for signs of earlier compromise.
Timeline
- Sep 16, 2025Published
- Oct 18, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Spring Cloud Gateway CVEsYou are reading CVE-2025-41243. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Vendor Advisoryhttps://spring.io/security/cve-2025-41243
Data last checked: Nov 24, 2026 22:15 UTC