Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-41253

HIGH 7.5EPSS 41%

Spring Cloud Gateway Webflux SpEL Injection Vulnerability Allowing Exposure of Environment Variables

Also known as GHSA-fwxx-wv44-7qfg

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

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

Vulnerability facts

Affected
org.springframework.cloud:spring-cloud-gateway-server >= 4.3.0, < 4.3.2
Fixed in
4.3.2, 4.2.6
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 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
EPSS
0.57% chance of exploitation in 30 days (percentile 41, 2026-11-26)
CWE
CWE-917
Published
Modified

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

Package / productAffectedFixedSource
Maven org.springframework.cloud:spring-cloud-gateway-server>= 4.3.0, < 4.3.24.3.2, 4.2.6osv
VMware Spring Cloud Gateway Server Webflux3.1.x; 4.0.x; 4.1.x; 4.2.x; 4.3.x—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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.

References

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.

Sponsors