cve.bz

CVE-2025-41243 spring cloud gateway: Code Injection

10.0 criticalEPSS 3.7%Fix available

Critical (10.0) in spring cloud gateway. EPSS 3.7% estimated probability of exploitation activity in the next 30 days. Fixed in org.springframework.cloud:spring-cloud-gateway-server-webflux 4.2.5, 4.3.1.

On this page
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.

Severity

CVSS 3.1

10.0 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS
3.7% (unchanged from 3.7% a week ago; 3.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 90th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-09-17. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-94 Improper Control of Generation of Code (Code Injection)
CWE-917 Improper Neutralization of Special Elements used in an Expression Language Statement (Expression Language Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • org.springframework.cloud:spring-cloud-gateway-server-webflux (Maven): fixed in 4.2.5, 4.3.1

Ask an AI about this CVE

Show the promptExplain CVE-2025-41243 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-41243?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-41243?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-41243 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Spring Cloud Gatewayfrom 4.3.x before 4.3.1
Spring Cloud Gatewayfrom 4.2.x before 4.2.5
Spring Cloud Gatewayfrom 4.1.x, 4.0.x before 4.1.11
Spring Cloud Gatewayfrom 3.1.x before 3.1.11

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-q2cj-h8fw-q4ccMavenorg.springframework.cloud:spring-cloud-gateway-server-webflux>=3.1.0 <=3.1.10no fix published
GHSA-q2cj-h8fw-q4ccMavenorg.springframework.cloud:spring-cloud-gateway-server-webflux>=4.0.0 <=4.1.10no fix published
GHSA-q2cj-h8fw-q4ccMavenorg.springframework.cloud:spring-cloud-gateway-server-webflux>=4.2.0 <4.2.54.2.5
GHSA-q2cj-h8fw-q4ccMavenorg.springframework.cloud:spring-cloud-gateway-server-webflux>=4.3.0 <4.3.14.3.1

GitHub PoC (unverified)

Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

Attack patterns (CAPEC)

  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-242 Code Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON