Skip to main content

CVE-2025-41243 — Vulnerability in spring-cloud-gate…er-webflux

CRITICAL

Spring Expression language property modification using Spring Cloud Gateway Server WebFlux

Published September 16, 2025Updated September 16, 2025Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (2.79%). Schedule for your next planned update.

Does your project use an affected org.springframework.cloud:spring-cloud-gateway-server-webflux version?

Paste your pom.xml to check it for CVE-2025-41243 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my pom.xml

Summary

Spring Cloud Gateway Server Webflux may be vulnerable to Spring Environment property modification.

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).
  • Spring Boot actuator is a dependency.
  • The Spring Cloud Gateway Server Webflux actuator web endpoint is enabled via management.endpoints.web.exposure.include=gateway.
  • The actuator endpoints are available to attackers.
  • The actuator endpoints are unsecured.

Advisory Timeline

  • First published September 16, 2025 (436 days ago).
  • Last revised September 16, 2025 — 0 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.springframework.cloud:spring-cloud-gateway-server-webflux to 4.2.5 or later
<!-- Update pom.xml dependency version to 4.2.5 for org.springframework.cloud:spring-cloud-gateway-server-webflux -->
Maven
Update org.springframework.cloud:spring-cloud-gateway-server-webflux to 4.3.1 or later
<!-- Update pom.xml dependency version to 4.3.1 for org.springframework.cloud:spring-cloud-gateway-server-webflux -->

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (4)

Affects 1 ecosystem: Maven (1).

PackageFixed In
org.springframework.cloud:spring-cloud-gateway-server-webflux Maven · Affected: All versionsRange-based data available
org.springframework.cloud:spring-cloud-gateway-server-webflux Maven · Affected: All versions4.2.5
org.springframework.cloud:spring-cloud-gateway-server-webflux Maven · Affected: All versionsRange-based data available
org.springframework.cloud:spring-cloud-gateway-server-webflux Maven · Affected: 4.3.04.3.1

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 10.0 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2025-41243?
Spring Expression language property modification using Spring Cloud Gateway Server WebFlux. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 10.0/10).
How do I check if my project is affected by CVE-2025-41243?
CVE-2025-41243 affects org.springframework.cloud:spring-cloud-gateway-server-webflux. It has a 2.8% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-41243 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
10.0

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
2.79%
EPSS percentile: 87.1

This places it in the top quartile of EPSS-scored vulnerabilities — 87.1% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.

Also Known As

GHSA-q2cj-h8fw-q4cc

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml