Expression Language Injection Affecting org.springframework.cloud:spring-cloud-gateway-server package, versions [,4.2.5)[4.3.0,4.3.1)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Expression Language Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKCLOUD-12591534
  • published10 Sept 2025
  • disclosed8 Sept 2025
  • creditEzzer17

Introduced: 8 Sep 2025

NewCVE-2025-41243  (opens in a new tab)
CWE-917  (opens in a new tab)

How to fix?

Upgrade org.springframework.cloud:spring-cloud-gateway-server to version 4.2.5, 4.3.1 or higher.

Overview

Affected versions of this package are vulnerable to Expression Language Injection in the GatewayEvaluationContext method, which allows property modification that in turn enables code execution.

Only Webflux applications are vulnerable, not WebMVC applications. Additionally, the following conditions must be true to render an application 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.

CVSS Base Scores

version 4.0
version 3.1