---
id: CVE-2025-41253
title: >-
  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…
summary: >-
  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…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-917
published: '2025-10-16'
updated: '2026-10-09'
sourceUpdated: '2026-10-09T10:10:00.193'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-41253'
references:
  - url: >-
      https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N&version=3.1
    label: security@vmware.com
  - url: 'https://spring.io/security/cve/2025-41253'
    label: security@vmware.com
tags:
  - nvd
epss: 0.00478
epssPercentile: 0.39258
ingestedAt: '2026-10-09T12:53:28.984Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
