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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.57% (percentile 41, 2026-11-26)
- **CWE:** CWE-917
- **Aliases:** GHSA-fwxx-wv44-7qfg
- **Published:** 2025-10-16T14:25:21.356Z
- **Modified:** 2026-10-09T10:10:00.193Z

## Who should check

- Projects that depend on Maven package org.springframework.cloud:spring-cloud-gateway-server (\>= 4.3.0, \< 4.3.2)
- Anyone running VMware Spring Cloud Gateway Server Webflux 3.1.x; 4.0.x; 4.1.x; 4.2.x; 4.3.x

## 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.

## Affected and fixed versions

- Maven `org.springframework.cloud:spring-cloud-gateway-server`: affected \>= 4.3.0, \< 4.3.2; fixed 4.3.2, 4.2.6 (osv)
- VMware Spring Cloud Gateway Server Webflux: 3.1.x; 4.0.x; 4.1.x; 4.2.x; 4.3.x (cvelist)

## Mitigation

- Upgrade org.springframework.cloud:spring-cloud-gateway-server to one of 4.3.2, 4.2.6 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-41253. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-41253.md
Affected: org.springframework.cloud:spring-cloud-gateway-server >= 4.3.0, < 4.3.2
Fixed in: 4.3.2, 4.2.6

Steps:
1. Search this machine and project for org.springframework.cloud:spring-cloud-gateway-server (Maven), VMware Spring Cloud Gateway Server Webflux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-41253 being exploited?

There is no confirmed exploitation: CVE-2025-41253 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.57% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-41253?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-41253?

org.springframework.cloud:spring-cloud-gateway-server \>= 4.3.0, \< 4.3.2.

### Is there a fix for CVE-2025-41253?

Yes. Fixed in 4.3.2, 4.2.6. Upgrade org.springframework.cloud:spring-cloud-gateway-server to one of 4.3.2, 4.2.6 (or later in the same release line).

### How do I check if I'm affected by CVE-2025-41253?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-41253>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-fwxx-wv44-7qfg> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-41253> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-41253>
