{"id":"CVE-2025-41253","published":"2025-10-16T14:25:21Z","modified":"2025-10-16T15:06:51Z","title":"Spring Cloud Gateway Webflux SpEL Injection Vulnerability Allowing Exposure of Environment Variables","vendor":"VMware","product":"Spring Cloud Gateway Server Webflux","tier":"tail","description":{"text":"The following versions of Spring Cloud Gateway Server Webflux may be vulnerable to the ability to expose environment variables and system properties to attackers.\n\nAn application should be considered vulnerable when all the following are true:\n\n  *  The application is using Spring Cloud Gateway Server Webflux (Spring Cloud Gateway Server WebMVC is not vulnerable).\n  *  An admin or untrusted third party using Spring Expression Language (SpEL) to access environment variables or system properties via routes.\n  *  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.\n  *  The actuator endpoints are available to attackers.\n  *  The actuator endpoints are unsecured.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00474,"percentile":0.41786,"provenance":"source"},"cwes":[{"id":"CWE-917","name":"Improper Neutralization of Special Elements used in an Expression Language Statement"}],"references":[{"url":"https://spring.io/security/cve/2025-41253","tags":[]},{"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","tags":[]}],"priority":{"score":13.6,"factors":[{"name":"EPSS percentile","points":8.36},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"vmware","affectedVersions":[{"vendor":"VMware","product":"Spring Cloud Gateway Server Webflux","versions":["3.1.x","4.0.x","4.1.x","4.2.x","4.3.x"]}],"solutions":{"items":["Users of affected versions should upgrade to fixed releases: 4.3.2 (OSS), 4.2.6 (OSS), 4.1.12 (Commercial), and 3.1.12 (Commercial). Alternatively, remove 'gateway' from management.endpoints.web.exposure.include or secure the actuator endpoints."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-10-16T15:05:36.057326Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.springframework.cloud:spring-cloud-gateway-server","vulnerableRanges":[">=4.3.0, <4.3.2",">=4.2.0, <4.2.6",">=4.0.0, <=4.1.9","<=3.1.10"],"patched":["4.3.2","4.2.6"],"from":["GHSA-fwxx-wv44-7qfg"],"provenance":"source"}],"summary":{"text":"The Spring Cloud Gateway Server Webflux component of VMware's Spring Cloud Gateway is vulnerable to Spring Expression Language (SpEL) injection, which can expose environment variables and system properties; the WebMVC variant is not affected. An attacker with network access and no authentication or user interaction could create a route that evaluates SpEL to read this data, provided the gateway actuator endpoint is enabled and exposed, and left unsecured.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:39:40Z"},"euvd":{"id":"EUVD-2025-34761","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-41235","published":"2025-05-30","fixed":"4.2.3","kev":false,"link":{"from":"CVE-2025-41235","to":"CVE-2025-41253","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.springframework.cloud:spring-cloud-gateway-server","fromFixed":"4.2.3","toFixed":"4.2.6","daysApart":139}]}},{"cve":"CVE-2025-41253","published":"2025-10-16","fixed":"4.3.2","kev":false}],"package":"Maven:org.springframework.cloud:spring-cloud-gateway-server"}}