Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2025-41253

Spring Cloud Gateway Server Webflux is vulnerable to Expression Language Injection
Back to all
CVE

CVE-2025-41253

Spring Cloud Gateway Server Webflux is vulnerable to Expression Language Injection

The following versions of Spring Cloud Gateway Server Webflux may be vulnerable to the ability to expose environment variables and system properties to attackers.

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).
  •  An admin or untrusted third party using Spring Expression Language (SpEL) to access environment variables or system properties via routes.
  •  An untrusted third party could create a route that uses SpEL to access environment variables or system properties if:  *  The Spring Cloud Gateway Server Webflux actuator web endpoint is enabled via management.endpoints.web.exposure.include=gateway and management.endpoint.gateway.enabled=trueor management.endpoint.gateway.access=unrestricte.
  •  The actuator endpoints are available to attackers.
  •  The actuator endpoints are unsecured.

Package Versions Affected

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
7.5
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
C
H
U
7.5
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Related Resources

No items found.

References

https://nvd.nist.gov/vuln/detail/CVE-2025-41253, https://github.com/spring-cloud/spring-cloud-gateway, https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N&version=3.1, https://spring.io/security/cve/2025-41253, https://www.cve.org/CVERecord?id=CVE-2025-41253

Severity

7.5

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
7.5
EPSS Probability
0.00045%
EPSS Percentile
0.13839%
Introduced Version
2.0.0.RELEASE,2.2.6.RELEASE,3.1.0,3.0.7,4.3.0,5.0.0-M1
Fix Available
4.2.6,4.3.2,5.0.0-M4

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading