# CVE-2025-41253: Spring Cloud Gateway Webflux SpEL Injection Vulnerability Allowing Exposure of Environment Variables

- Severity: High 7.5 (CVSS:3.1, scored by vmware) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-02)
- Published: 2025-10-16T14:25:21.356Z
- Modified: 2026-10-09T10:10:00.193Z
- Also known as: GHSA-fwxx-wv44-7qfg
- Weaknesses: CWE-917
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: vmware

## Description

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.

(As written by CVE List.)

## Affected

- VMware Spring Cloud Gateway Server Webflux: 3.1.x; 4.0.x; 4.1.x; 4.2.x; 4.3.x
- org.springframework.cloud:spring-cloud-gateway-server (Maven): from 4.3.0 before 4.3.2; from 4.2.0 before 4.2.6; from 4.0.0 up to 4.1.9; up to 3.1.10

## Every score

- vmware: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://spring.io/security/cve/2025-41253> (web)
- <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> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-41253> (advisory)
- <https://github.com/spring-cloud/spring-cloud-gateway> (package)
- <https://www.cve.org/CVERecord?id=CVE-2025-41253> (web)

## Sources

- CVE List: [CVE-2025-41253](https://www.cve.org/CVERecord?id=CVE-2025-41253), CVE Terms of Use, modified 2025-10-16
- GitHub Advisory Database: [GHSA-fwxx-wv44-7qfg](https://github.com/advisories/GHSA-fwxx-wv44-7qfg), CC-BY-4.0, modified 2026-02-19
- NVD: [CVE-2025-41253](https://nvd.nist.gov/vuln/detail/CVE-2025-41253), Public domain, modified 2026-10-09

---

Page: https://cve.day/CVE-2025-41253 · Whole record: https://cve.day/CVE-2025-41253.json · Rebuilt by cve.day 2026-11-25T22:59:06.490Z
