Home / Spring Cloud Gateway / Spring Cloud Gateway / CVE-2022-22947
CVE-2022-22947: is it exploited, and which versions of Spring Cloud Gateway are affected and fixed?
CVE-2022-22947 is a code injection (remote code execution) vulnerability in Spring Cloud Gateway, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on May 16, 2022, with a federal due date of June 6, 2022. Affected: org.springframework.cloud:spring-cloud-gateway before 3.0.7 and org.springframework.cloud:spring-cloud-gateway from 3.1.0 before 3.1.1 (GitHub advisory GHSA-3gx9-37ww-9qw6). Fixed in 3.0.7 and 3.1.1 (GitHub advisory GHSA-3gx9-37ww-9qw6). Severity: Critical (10.0, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:50 UTC.
What is CVE-2022-22947?
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.
From the CVE record by vmware, last updated October 21, 2025, 23:15 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Spring Cloud Gateway | Spring cloud gateway versions 3.1.x prior to 3.1.1+, 3.0.x prior to 3.0.7+ and a |
As the CVE record by vmware states it, last updated October 21, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.springframework.cloud:spring-cloud-gateway | < 3.0.7 | 3.0.7 | GHSA-3gx9-37ww-9qw6 |
| Maven | org.springframework.cloud:spring-cloud-gateway | >= 3.1.0, < 3.1.1 | 3.1.1 | GHSA-3gx9-37ww-9qw6 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 11, 2022. Summary: Spring Cloud Gateway vulnerable to Code Injection when Gateway Actuator endpoint enabled, exposed, unsecured.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| vmware | spring cloud gateway | before 3.0.7 | application |
| vmware | spring cloud gateway | 3.1.0 | application |
| oracle | commerce guided search | 11.3.2 | application |
| oracle | communications cloud native core binding support function | 1.11.0 | application |
| oracle | communications cloud native core binding support function | 22.1.3 | application |
| oracle | communications cloud native core console | 22.2.0 | application |
| oracle | communications cloud native core network exposure function | 22.1.0 | application |
| oracle | communications cloud native core network function cloud native environment | 1.10.0 | application |
| oracle | communications cloud native core network repository function | 1.15.0 | application |
| oracle | communications cloud native core network repository function | 1.15.1 | application |
| oracle | communications cloud native core network repository function | 22.1.2 | application |
| oracle | communications cloud native core network repository function | 22.2.0 | application |
| oracle | communications cloud native core network slice selection function | 1.8.0 | application |
| oracle | communications cloud native core network slice selection function | 22.1.0 | application |
| oracle | communications cloud native core security edge protection proxy | 22.1.1 | application |
| oracle | communications cloud native core service communication proxy | 1.15.0 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 04:29 UTC.
How severe is CVE-2022-22947?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 10.0 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H | CISA-ADP |
| Critical 10.0 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H | NVD |
| Medium 6.8 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-22947 exploited in the wild?
- CISA KEV
- Listed as VMware Spring Cloud Gateway Code Injection Vulnerability, added May 16, 2022; federal agencies must act by June 6, 2022
- Required action
- Apply updates per vendor instructions.
- Ransomware use
- Unknown
- CISA's summary
- Spring Cloud Gateway applications are vulnerable to a code injection attack when the Gateway Actuator endpoint is enabled, exposed and unsecured.
- CISA SSVC
- Exploitation: active; automatable: yes; technical impact: total (CISA ADP, January 29, 2025)
- EPSS
- 98.3% probability of exploitation activity in the next 30 days, percentile 99.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-94 Improper Control of Generation of Code
- CWE-917 Improper Neutralization of Special Elements used in an Expression Language Statement
Where are the vendor advisories and references?
- https://tanzu.vmware.com/security/cve-2022-22947
- https://www.oracle.com/security-alerts/cpuapr2022.html
- http://packetstormsecurity.com/files/166219/Spring-Cloud-Gateway-3.1.0-Remote-Code-Execution.html
- https://www.oracle.com/security-alerts/cpujul2022.html
- http://packetstormsecurity.com/files/168742/Spring-Cloud-Gateway-3.1.0-Remote-Code-Execution.html
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-22947 government-resource
When was it published, and where is the official record?
- Reserved
- January 10, 2022
- Published
- March 3, 2022, 00:00 UTC
- CVE record updated
- October 21, 2025, 23:15 UTC by vmware
- NVD
- Analyzed, last modified June 17, 2026, 04:29 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:50 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD · CISA KEV
What other CVEs affect Spring Cloud Gateway?
- Mar 4, 2022CVE-2022-22946 Spring Cloud Gateway: improper certificate validation
- Nov 8, 2021CVE-2021-22051 Spring Cloud Gateway: incorrect authorization
Every CVE in Spring Cloud Gateway
Questions about CVE-2022-22947
Is CVE-2022-22947 exploited in the wild?
Yes. CISA added CVE-2022-22947 to its Known Exploited Vulnerabilities catalog on May 16, 2022 and set federal agencies a due date of June 6, 2022. FIRST's EPSS gives it a 98.3% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Spring Cloud Gateway are affected by CVE-2022-22947?
org.springframework.cloud:spring-cloud-gateway before 3.0.7 and org.springframework.cloud:spring-cloud-gateway from 3.1.0 before 3.1.1, per the GitHub advisory GHSA-3gx9-37ww-9qw6. The tables above give every range the sources list.
Which version fixes CVE-2022-22947?
3.0.7 and 3.1.1, per the GitHub advisory GHSA-3gx9-37ww-9qw6. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-22947?
Critical (10.0, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2022-22947?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.