{"answers":{"affected":"8 open source packages ship an affected version, including org.springframework.cloud:spring-cloud-gateway-server.","exploited":"There is no known exploitation of CVE-2025-41253 in the wild and no public exploit code.","fix":"Upgrade org.springframework.cloud:spring-cloud-gateway-server to a fixed version for your release line: 4.2.6 or 4.3.2.","what":"CVE-2025-41253 is a high-severity code injection vulnerability in VMware Spring Cloud Gateway Server Webflux, published on 16 Oct 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-41253 and fix it if it is affected.\n\nWhat it is: CVE-2025-41253 is a high-severity code injection vulnerability in VMware Spring Cloud Gateway Server Webflux, published on 16 Oct 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-41253 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.springframework.cloud:spring-cloud-gateway-server (Maven): affected all versions up to 3.1.10; no fix listed\n- org.springframework.cloud:spring-cloud-gateway-server (Maven): affected all versions up to 3.1.10; no fix listed\n- org.springframework.cloud:spring-cloud-gateway-server (Maven): affected from 4.0.0 up to 4.1.9; no fix listed\n- org.springframework.cloud:spring-cloud-gateway-server (Maven): affected from 4.0.0 up to 4.1.9; no fix listed\n- org.springframework.cloud:spring-cloud-gateway-server (Maven): affected from 4.2.0; fixed in 4.2.6\n- org.springframework.cloud:spring-cloud-gateway-server (Maven): affected from 4.2.0; fixed in 4.2.6\n- org.springframework.cloud:spring-cloud-gateway-server (Maven): affected from 4.3.0; fixed in 4.3.2\n- org.springframework.cloud:spring-cloud-gateway-server (Maven): affected from 4.3.0; fixed in 4.3.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-41253/ (Markdown: https://insights.sbomify.com/CVE-2025-41253/index.md)","id":"CVE-2025-41253","markdown":"https://insights.sbomify.com/CVE-2025-41253/index.md","name":"CVE-2025-41253","record":{"aliases":["GHSA-fwxx-wv44-7qfg","ROOT-APP-MAVEN-CVE-2025-41253"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Spring Cloud Gateway","requires_auth":"none","summary":"Attackers can expose environment variables and system properties via SpEL injection in Spring Cloud Gateway Webflux if actuator endpoints are exposed and unsecured.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"vmware","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-917","name":"Improper Neutralization of Special Elements used in an Expression Language Statement"}],"description":"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Spring Cloud Gateway Webflux SpEL Injection Vulnerability Allowing Exposure of Environment Variables","id":"CVE-2025-41253","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"code_injection","year":"2025"},"n_packages":8,"n_references":2,"next":{"headline":"Spring Framework STOMP CSRF Vulnerability","id":"CVE-2025-41254"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["3.1.10"],"package":"org.springframework.cloud:spring-cloud-gateway-server","purl":null,"source":"GHSA-fwxx-wv44-7qfg"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["3.1.10"],"package":"org.springframework.cloud:spring-cloud-gateway-server","purl":"pkg:maven/org.springframework.cloud/spring-cloud-gateway-server","source":"GHSA-fwxx-wv44-7qfg"},{"ecosystem":"Maven","fixed":[],"introduced":["4.0.0"],"last_affected":["4.1.9"],"package":"org.springframework.cloud:spring-cloud-gateway-server","purl":null,"source":"GHSA-fwxx-wv44-7qfg"},{"ecosystem":"Maven","fixed":[],"introduced":["4.0.0"],"last_affected":["4.1.9"],"package":"org.springframework.cloud:spring-cloud-gateway-server","purl":"pkg:maven/org.springframework.cloud/spring-cloud-gateway-server","source":"GHSA-fwxx-wv44-7qfg"},{"ecosystem":"Maven","fixed":["4.2.6"],"introduced":["4.2.0"],"last_affected":[],"package":"org.springframework.cloud:spring-cloud-gateway-server","purl":null,"source":"GHSA-fwxx-wv44-7qfg"},{"ecosystem":"Maven","fixed":["4.2.6"],"introduced":["4.2.0"],"last_affected":[],"package":"org.springframework.cloud:spring-cloud-gateway-server","purl":"pkg:maven/org.springframework.cloud/spring-cloud-gateway-server","source":"GHSA-fwxx-wv44-7qfg"},{"ecosystem":"Maven","fixed":["4.3.2"],"introduced":["4.3.0"],"last_affected":[],"package":"org.springframework.cloud:spring-cloud-gateway-server","purl":null,"source":"GHSA-fwxx-wv44-7qfg"},{"ecosystem":"Maven","fixed":["4.3.2"],"introduced":["4.3.0"],"last_affected":[],"package":"org.springframework.cloud:spring-cloud-gateway-server","purl":"pkg:maven/org.springframework.cloud/spring-cloud-gateway-server","source":"GHSA-fwxx-wv44-7qfg"}],"prev":{"headline":"Username enumeration vulnerability","id":"CVE-2025-41252"},"products":["Spring Cloud Gateway Server Webflux"],"published":"2025-10-16","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-10-16","vendors":["VMware"]},"summary":"Attackers can expose environment variables and system properties via SpEL injection in Spring Cloud Gateway Webflux if actuator endpoints are exposed and unsecured.","url":"https://insights.sbomify.com/CVE-2025-41253/"}