NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
☕
☕ Maven
Not in CISA KEV
CRITICAL severity

CVE-2025-41243 — spring-cloud-gateway-serv…

CRITICAL

CVE-2025-41243 is a critical-severity (CVSS 10) Code Injection vulnerability in org.springframework.cloud:spring-cloud-gateway-server-webflux. A fix is available for org.springframework.cloud:spring-cloud-gateway-server-webflux — see the affected versions and patch details below.

Spring Expression language property modification using Spring Cloud Gateway Server WebFlux

Published
Updated
Affected
4 pkgs
Patched
2 / 4
Exploits
None indexed
Exploitation data as of Nov 6, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • A successful exploit gives an attacker total control of the affected component, not partial access.
  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2025-41243.

EPSS Exploitation Probability

via FIRST.org ↗
3.7%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs90th percentile — riskier than 90% of all scored CVEsHighest risk
2.38%4.04%5.69%7.35%5.5%3.7%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

4 pkgs affected
☕org.springframework.cloud:spring-cloud-gateway-server-webflux☕org.springframework.cloud:spring-cloud-gateway-server-webflux☕org.springframework.cloud:spring-cloud-gateway-server-webflux☕org.springframework.cloud:spring-cloud-gateway-server-webflux

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

Description

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.

Affected Packages

4 total 2 fixed
EcosystemPackageVulnerable rangeFix
☕Mavenorg.springframework.cloud:spring-cloud-gateway-server-webflux≥ 3.1.0No fix
☕Mavenorg.springframework.cloud:spring-cloud-gateway-server-webflux≥ 4.0.0No fix
☕Mavenorg.springframework.cloud:spring-cloud-gateway-server-webflux≥ 4.2.0&&< 4.2.54.2.5org.springframework.cloud:spring-cloud-gateway-server-webflux:4.2.5
☕Mavenorg.springframework.cloud:spring-cloud-gateway-server-webflux≥ 4.3.0&&< 4.3.14.3.1org.springframework.cloud:spring-cloud-gateway-server-webflux:4.3.1

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.springframework.cloud:spring-cloud-gateway-server-webflux, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    A fix is available for CVE-2025-41243; check the affected-versions list above or the advisory for the patched release of org.springframework.cloud:spring-cloud-gateway-server-webflux, then make sure no transitive dependency still pins the vulnerable range.

  3. Workarounds

    Stop passing untrusted input into the interpreter or shell: call the affected binary with an argument array rather than a composed command string, reject anything outside a strict allowlist of expected values, and run the component under an account that cannot reach beyond the work it legitimately does.

How to detect CVE-2025-41243

A community-maintained Nuclei template exists for this CVE. You can scan for it directly:

nuclei -id cve-2025-41243 -u https://target
Template
Spring Cloud Gateway Server Webflux - Broken Access Control
Severity
critical
Impact
Attackers can modify Spring Environment properties, potentially leading to configuration tampering and further compromise.
Remediation
Secure actuator endpoints or disable gateway actuator exposure; update to latest Spring Cloud Gateway Server Webflux version.

Template by ProjectDiscovery nuclei-templates (Redmomn), MIT licensed. View the full template. Scan only systems you are authorised to test.

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2025-41243 in your dependencies?

Find it across Maven, including transitive dependencies.

CVE-2025-41243: spring-cloud-gateway — Fixed in 4.2.5