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.
CVE-2022-22947
Score elevated to 10.0 because this CVE is listed on the CISA Known Exploited Vulnerabilities catalog (added 2022-05-16), indicating real-world exploitation has been confirmed by US federal agencies. NVD baseline CVSS 10.0 retained for reference. Confidence: HIGH.
- Actively exploited in the wild (CISA-KEV)
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 10.0
- EG Score
- 10.0(high)
- EG Risk
- 100(Act)EG Risk 100/100SSVC: Act
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity100% × 45%Exploitation100% × 40%Automatability100% × 15%Action: Fix now — active exploitation, automatable, high impact. - EPSS
- 99.9%
- KEV
- ⚠ Exploited
Published
March 3, 2022
Last Modified
October 30, 2025
Advisory Details (1)
Auto-updated Jul 18, 2026Spring Cloud Gateway Code Injection Vulnerability
https://tanzu.vmware.com/security/cve-2022-22947Affected Packages
(1 across 1 ecosystem)
Maven(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| org.springframework.cloud:spring-cloud-gateway | 3.1.0 | 3.1.1 | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 11× in last 7d / 26× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-23 02:08 UTCEG score recompute
- 2026-07-22 23:22 UTCEG score recompute
- 2026-07-22 22:55 UTCEG score recompute
- 2026-07-22 19:40 UTCCISA KEV update
- 2026-07-21 14:37 UTCCISA KEV update
- 2026-07-19 16:14 UTCEG score recompute
- 2026-07-19 14:29 UTCEPSS rescore
- 2026-07-19 04:51 UTCEG score recompute
- 2026-07-19 02:27 UTCEPSS rescore
- 2026-07-17 07:36 UTCEG score recompute
- 2026-07-16 17:04 UTCCISA KEV update
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 16:49 UTCCISA KEV update
- 2026-07-15 15:04 UTCCISA KEV update
- 2026-07-14 18:05 UTCCISA KEV update
- 2026-07-13 17:07 UTCCISA KEV update
- 2026-07-10 17:52 UTCCISA KEV update
- 2026-07-09 19:07 UTCEPSS rescore
- 2026-07-07 19:01 UTCCISA KEV update
- 2026-07-07 17:16 UTCCISA KEV update
- 2026-07-01 19:16 UTCCISA KEV update
- 2026-06-29 19:12 UTCCISA KEV update
- 2026-06-25 19:15 UTCCISA KEV update
- 2026-06-25 13:48 UTCEPSS rescore
Show 24 moreShow fewer
- 2026-06-23 17:44 UTCCISA KEV update
- 2026-06-22 14:24 UTCEPSS rescore
- 2026-06-18 16:13 UTCCISA KEV update
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-16 19:33 UTCCISA KEV update
- 2026-06-15 19:33 UTCCISA KEV update
- 2026-06-15 17:46 UTCEPSS rescore
- 2026-06-12 17:35 UTCCISA KEV update
- 2026-06-11 19:10 UTCCISA KEV update
- 2026-06-09 18:42 UTCCISA KEV update
- 2026-06-09 17:12 UTCCISA KEV update
- 2026-06-08 19:16 UTCCISA KEV update
- 2026-06-08 17:26 UTCCISA KEV update
- 2026-06-05 22:43 UTCCISA KEV update
- 2026-06-03 19:09 UTCCISA KEV update
- 2026-06-02 18:32 UTCCISA KEV update
- 2026-06-01 20:42 UTCCISA KEV update
- 2026-05-29 22:20 UTCCISA KEV update
- 2026-05-27 20:35 UTCCISA KEV update
- 2026-05-26 19:13 UTCCISA KEV update
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 02:13 UTCEG score recompute
Publicly available exploits
(10 references)Working exploit code is in the public domain (9 GitHub PoCs) (1 Exploit-DB entry). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- GitHub PoCZh0um1/CVE-2022-22947First seen Feb 7, 2023
CVE-2022-22947注入哥斯拉内存马
Open source ↗ - GitHub PoC0730Nophone/CVE-2022-22947-First seen May 16, 2022
Spring Cloud Gateway Actuator API SpEL表达式注入命令执行(CVE-2022-22947) 注入哥斯拉内存马
Open source ↗ - GitHub PoCwhwlsfb/cve-2022-22947-godzilla-memshellFirst seen Apr 26, 2022
CVE-2022-22947 注入Godzilla内存马
Open source ↗ - Open source ↗GitHub PoCEnokiy/cve-2022-22947-spring-cloud-gatewayFirst seen Mar 21, 2022
- GitHub PoCviemsr/spring_cloud_gateway_memshellFirst seen Mar 18, 2022
CVE-2022-22947 memshell
Open source ↗ - GitHub PoC0x7eTeam/CVE-2022-22947First seen Mar 8, 2022
CVE-2022-22947_EXP,CVE-2022-22947_RCE,CVE-2022-22947反弹shell,CVE-2022-22947 getshell
Open source ↗ - Exploit-DBEDB-50799First seen Mar 7, 2022
Spring Cloud Gateway 3.1.0 - Remote Code Execution (RCE)
Open source ↗ - GitHub PoCtangxiaofeng7/CVE-2022-22947-Spring-Cloud-GatewayFirst seen Mar 4, 2022
CVE-2022-22947批量
Open source ↗ - GitHub PoCSecNN/CVE-2022-22947_Rce_ExpFirst seen Mar 3, 2022
Spring Cloud Gateway 远程代码执行漏洞Exp Spring_Cloud_Gateway_RCE_Exp-CVE-2022-22947
Open source ↗ - GitHub PoCcrowsec-edtech/CVE-2022-22947First seen Mar 3, 2022
Spring Cloud Gateway < 3.0.7 & < 3.1.1 Code Injection (RCE)
Open source ↗
Related CVEs(same CWE)
Same CWE
10 shownCWE-94
Frequently asked(6)
What is CVE-2022-22947?
When was CVE-2022-22947 disclosed?
Is CVE-2022-22947 actively exploited?
What is the CVSS score of CVE-2022-22947?
Which products are affected by CVE-2022-22947?
How do I remediate CVE-2022-22947?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2022-22947
Is Your Infrastructure Affected by CVE-2022-22947?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.