{"answers":{"affected":"8 open source packages ship an affected version, including org.springframework.cloud:spring-cloud-gateway-server-webflux.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-41243 exists.","fix":"Upgrade org.springframework.cloud:spring-cloud-gateway-server-webflux to a fixed version for your release line: 4.2.5 or 4.3.1.","what":"CVE-2025-41243 is a critical code injection vulnerability in Spring Cloud Gateway, published on 16 Sep 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-41243 and fix it if it is affected.\n\nWhat it is: CVE-2025-41243 is a critical code injection vulnerability in Spring Cloud Gateway, published on 16 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-41243 exists.\n\nAffected packages and fixed versions:\n- org.springframework.cloud:spring-cloud-gateway-server-webflux (Maven): affected from 3.1.0 up to 3.1.10; no fix listed\n- org.springframework.cloud:spring-cloud-gateway-server-webflux (Maven): affected from 3.1.0 up to 3.1.10; no fix listed\n- org.springframework.cloud:spring-cloud-gateway-server-webflux (Maven): affected from 4.0.0 up to 4.1.10; no fix listed\n- org.springframework.cloud:spring-cloud-gateway-server-webflux (Maven): affected from 4.0.0 up to 4.1.10; no fix listed\n- org.springframework.cloud:spring-cloud-gateway-server-webflux (Maven): affected from 4.2.0; fixed in 4.2.5\n- org.springframework.cloud:spring-cloud-gateway-server-webflux (Maven): affected from 4.2.0; fixed in 4.2.5\n- org.springframework.cloud:spring-cloud-gateway-server-webflux (Maven): affected from 4.3.0; fixed in 4.3.1\n- org.springframework.cloud:spring-cloud-gateway-server-webflux (Maven): affected from 4.3.0; fixed in 4.3.1\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-41243/ (Markdown: https://insights.sbomify.com/CVE-2025-41243/index.md)","id":"CVE-2025-41243","markdown":"https://insights.sbomify.com/CVE-2025-41243/index.md","name":"CVE-2025-41243","record":{"aliases":["GHSA-q2cj-h8fw-q4cc","ROOT-APP-MAVEN-CVE-2025-41243"],"analysis":{"component_type":"library","fix_type":"configuration_change","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":true,"product_category":"Spring Cloud Gateway","requires_auth":"none","summary":"Attackers can modify Spring Environment properties via exposed actuator endpoints, potentially leading to code execution or privilege escalation.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"vmware","cpe":[],"cvss":{"score":10,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-917","name":"Improper Neutralization of Special Elements used in an Expression Language Statement"}],"description":"Spring Cloud Gateway Server Webflux may be vulnerable to Spring Environment property modification.\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  *  Spring Boot actuator is a dependency.\n  *  The Spring Cloud Gateway Server Webflux actuator web endpoint is enabled via management.endpoints.web.exposure.include=gateway.\n  *  The actuator endpoints are available to attackers.\n  *  The actuator endpoints are unsecured.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2026-01-26","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":1,"refs":[{"date":"2026-01-26T08:23:44Z","kind":"github_poc","ref":"https://github.com/SFN233/CVE-2025-41243-Vulnerability-Lab","stars":0,"title":"Spring Cloud Gateway SpEL RCE Vulnerability Environment"},{"date":null,"kind":"nuclei","ref":"http/cves/2025/CVE-2025-41243.yaml","stars":null,"title":"Spring Cloud Gateway Server Webflux - Broken Access Control"}],"tier":"weaponised"},"has_fix":true,"headline":"Spring Expression Language property modification using Spring Cloud Gateway Server WebFlux","id":"CVE-2025-41243","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"code_injection","year":"2025"},"n_packages":8,"n_references":1,"next":{"headline":"Broadcom VMware Aria Operations and VMware Tools Privilege Defined with Unsafe Actions","id":"CVE-2025-41244"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["3.1.0"],"last_affected":["3.1.10"],"package":"org.springframework.cloud:spring-cloud-gateway-server-webflux","purl":null,"source":"GHSA-q2cj-h8fw-q4cc"},{"ecosystem":"Maven","fixed":[],"introduced":["3.1.0"],"last_affected":["3.1.10"],"package":"org.springframework.cloud:spring-cloud-gateway-server-webflux","purl":"pkg:maven/org.springframework.cloud/spring-cloud-gateway-server-webflux","source":"GHSA-q2cj-h8fw-q4cc"},{"ecosystem":"Maven","fixed":[],"introduced":["4.0.0"],"last_affected":["4.1.10"],"package":"org.springframework.cloud:spring-cloud-gateway-server-webflux","purl":null,"source":"GHSA-q2cj-h8fw-q4cc"},{"ecosystem":"Maven","fixed":[],"introduced":["4.0.0"],"last_affected":["4.1.10"],"package":"org.springframework.cloud:spring-cloud-gateway-server-webflux","purl":"pkg:maven/org.springframework.cloud/spring-cloud-gateway-server-webflux","source":"GHSA-q2cj-h8fw-q4cc"},{"ecosystem":"Maven","fixed":["4.2.5"],"introduced":["4.2.0"],"last_affected":[],"package":"org.springframework.cloud:spring-cloud-gateway-server-webflux","purl":null,"source":"GHSA-q2cj-h8fw-q4cc"},{"ecosystem":"Maven","fixed":["4.2.5"],"introduced":["4.2.0"],"last_affected":[],"package":"org.springframework.cloud:spring-cloud-gateway-server-webflux","purl":"pkg:maven/org.springframework.cloud/spring-cloud-gateway-server-webflux","source":"GHSA-q2cj-h8fw-q4cc"},{"ecosystem":"Maven","fixed":["4.3.1"],"introduced":["4.3.0"],"last_affected":[],"package":"org.springframework.cloud:spring-cloud-gateway-server-webflux","purl":null,"source":"GHSA-q2cj-h8fw-q4cc"},{"ecosystem":"Maven","fixed":["4.3.1"],"introduced":["4.3.0"],"last_affected":[],"package":"org.springframework.cloud:spring-cloud-gateway-server-webflux","purl":"pkg:maven/org.springframework.cloud/spring-cloud-gateway-server-webflux","source":"GHSA-q2cj-h8fw-q4cc"}],"prev":{"headline":"CVE-2025-41242: Path traversal vulnerability on non-compliant Servlet containers","id":"CVE-2025-41242"},"products":["Cloud Gateway"],"published":"2025-09-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)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-02-26","vendors":["Spring"]},"summary":"Attackers can modify Spring Environment properties via exposed actuator endpoints, potentially leading to code execution or privilege escalation.","url":"https://insights.sbomify.com/CVE-2025-41243/"}