Wiz Agents & Workflows are here

CVE-2025-41253
Java vulnerability analysis and mitigation

Overview

The Spring Cloud Gateway Server Webflux vulnerability (CVE-2025-41253) was disclosed on October 16, 2025. This vulnerability allows attackers to expose environment variables and system properties through Spring Expression Language (SpEL) in application routes. The flaw affects multiple versions of Spring Cloud Gateway, including versions 4.3.0-4.3.x, 4.2.0-4.2.x, 4.1.0-4.1.x, 4.0.0-4.0.x, and 3.1.0-3.1.x (ASEC Blog).

Technical details

The vulnerability exists in Spring Cloud Gateway Server Webflux (Spring Cloud Gateway Server WebMVC is not affected) and is related to the misuse of Spring Expression Language (SpEL) within application routes. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (High) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N, indicating network accessibility with no privileges required (NVD). The vulnerability is classified as CWE-917 (Improper Neutralization of Special Elements used in an Expression Language Statement).

Impact

When successfully exploited, this vulnerability allows attackers to read sensitive information including environment variables, system properties, authentication tokens, API keys, and database credentials from the application's runtime environment (Security Online).

Mitigation and workarounds

Spring has released patched versions: 4.3.2 (OSS), 4.2.6 (OSS), 4.1.12 (Commercial), and 3.1.12 (Commercial). For users unable to upgrade immediately, a temporary mitigation involves removing 'gateway' from the management.endpoints.web.exposure.include property or securing the actuator endpoints (Security Online).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-34361CRITICAL9.3
  • JavaJava
  • ca.uhn.hapi.fhir:org.hl7.fhir.validation
NoYesMar 30, 2026
CVE-2026-34214HIGH7.7
  • JavaJava
  • trino
NoYesMar 29, 2026
CVE-2026-34359HIGH7.4
  • JavaJava
  • ca.uhn.hapi.fhir:org.hl7.fhir.core
NoYesMar 30, 2026
CVE-2026-34237MEDIUM6.1
  • JavaJava
  • io.modelcontextprotocol.sdk:mcp-core
NoYesMar 30, 2026
CVE-2026-34360MEDIUM5.8
  • JavaJava
  • ca.uhn.hapi.fhir:org.hl7.fhir.core
NoYesMar 30, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management