CVE-2022-22947: Spring Cloud Gateway Actuator SpEL Injection RCE
- Vendors
- Oracle CorporationVMware
CVE-2022-22947 is a Spring Expression Language (SpEL) injection vulnerability in Spring Cloud Gateway affecting version 3.1.0, versions 3.0.0 through 3.0.6, and older unsupported releases. Exploitation requires the Gateway Actuator endpoint to be enabled, exposed, and unsecured. An attacker can submit a malicious route definition containing a SpEL expression in a filter configuration, such as AddResponseHeader, and trigger a gateway route refresh. Permissive expression evaluation in ShortcutConfigurable.getValue allows the expression to invoke Java runtime functionality and execute arbitrary operating-system commands.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation permits remote code and command execution with the privileges of the Spring Cloud Gateway application process, compromising application confidentiality, integrity, and availability. Attackers can access data and credentials available to that process, modify application resources, deploy malware, or disrupt gateway services. Host and downstream compromise depend on the application's privileges and network access. Exploitation has been incorporated into botnet propagation, including EnemyBot.
Mitigation
If you can’t patch tonight, do this now.
Disable the Gateway Actuator endpoint or remove its web exposure if it is unnecessary. If management access is required, enforce authentication and authorization and restrict network access to trusted administrators or management networks. WAF rules targeting CVE-2022-22947 can provide supplementary protection but should not replace patching and endpoint access controls.
Remediation
Patch, then assume compromise.
Upgrade Spring Cloud Gateway to version 3.0.7 or later in the 3.0.x branch, or version 3.1.1 or later in the 3.1.x branch. Move older unsupported deployments to a supported, patched release. The fix replaces permissive StandardEvaluationContext usage with GatewayEvaluationContext in ShortcutConfigurable.getValue to restrict expression evaluation.
Exploits
24 exploits validated by Mallory's analysis. Hidden: 8 rejected by Mallory's analysis as not a working exploit; 2 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2022-22947 exploited in the wild?
- Yes. As of Nov 4, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on May 16, 2022.
- Is there a public exploit for CVE-2022-22947?
- Yes. Mallory tracks 24 public exploits or proofs of concept for CVE-2022-22947, the earliest disclosed Jan 26, 2022.
- Is there a patch for CVE-2022-22947?
- Upgrade Spring Cloud Gateway to version 3.0.7 or later in the 3.0.x branch, or version 3.1.1 or later in the 3.1.x branch. Move older unsupported deployments to a supported, patched release.
- What products are affected by CVE-2022-22947?
- VMware Spring Cloud Gateway, Oracle Corporation Commerce Guided Search, Oracle Corporation Communications Cloud Native Core Binding Support Function, Oracle Corporation Communications Cloud Native Core Console, Oracle Corporation Communications Cloud Native Core Network Exposure Function, and 5 more.
- How severe is CVE-2022-22947?
- CVE-2022-22947 has a CVSS v3.1 score of 10.0 (Critical) and an EPSS score of 95.6% (100th percentile) as of Nov 4, 2026.
Recent activity
26 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.