Code injectionin VMware Spring Cloud Gateway.
On CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks.'s exploited list since 16 May 2022.
In spring cloud gateway versions prior to 3.1.1+ and 3.0.7+ , applications are vulnerable to a code injection attack when the Gateway Actuator endpoint is enabled, exposed and unsecured. A remote attacker could make a maliciously crafted request that could allow arbitrary remote execution on the remote host.
CISA: Spring Cloud Gateway applications are vulnerable to a code injection attack when the Gateway Actuator endpoint is enabled, exposed and unsecured.
- Upgrade org.springframework.cloud:spring-cloud-gateway (Maven) to 3.0.7, 3.1.1 or later, whichever matches your release line.
- CISA requires US federal agencies to fix it by 6 Jun 2022.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 10 Jan 2022CVE ID reserved by vmware.
- 26 Jan 2022Metasploit module: Spring Cloud Gateway Remote Code Execution.
- 2 Mar 2022First public proof of concept on GitHub.
- 3 Mar 2022Published in the CVE List.
- 16 May 2022Added to CISA's Known Exploited Vulnerabilities list.
- 21 Oct 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: Exploited in the wild (CISA KEV). CISA assessment (SSVC): exploitation active.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other Spring Cloud Gateway vulnerabilities
Same weakness: Code injection
- tanzu.vmware.com
- www.oracle.com
- packetstormsecurity.com
- www.oracle.com
- packetstormsecurity.com
- www.cisa.gov government-resource
Patchminder. CVE-2022-22947: Code injection in VMware Spring Cloud Gateway. https://patchminder.com/cve/cve-2022-22947/ (accessed 5 December 2026).