Vulnerability record · CVE-2022-22965 · published 1 April 2022
CVE-2022-22965: Spring Framework data binding remote code execution (Spring4Shell)
Vmware · Spring Framework
Spring MVC and Spring WebFlux applications on JDK 9+ can be exploited through data binding to achieve remote code execution. The known exploit path requires a Tomcat WAR deployment, though the underlying flaw is more general and other exploitation methods may exist. This is a critical, unauthenticated network-reachable flaw in a widely deployed framework.
Description
A Spring MVC or Spring WebFlux application running on JDK 9+ may be vulnerable to remote code execution (RCE) via data binding. The specific exploit requires the application to run on Tomcat as a WAR deployment. If the application is deployed as a Spring Boot executable jar, i.e. the default, it is not vulnerable to the exploit. However, the nature of the vulnerability is more general, and there may be other ways to exploit it.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Automated analysis
critical priorityCVSS 9.8, CISA KEV listing, near-certain EPSS probability, and public exploit code make this an urgent, actively exploited RCE in a ubiquitous framework.
What it is
Spring MVC and Spring WebFlux applications on JDK 9+ can be exploited through data binding to achieve remote code execution. The known exploit path requires a Tomcat WAR deployment, though the underlying flaw is more general and other exploitation methods may exist. This is a critical, unauthenticated network-reachable flaw in a widely deployed framework.
Impact
An unauthenticated attacker can execute arbitrary code on the application server, leading to full host compromise, data theft, and lateral movement. Successful exploitation gives the attacker the privileges of the application process.
Attack surface
Reachable over the network via HTTP requests to a vulnerable Spring MVC or WebFlux endpoint; no authentication or user interaction is required per the CVSS vector. The documented exploit specifically targets applications deployed as WAR files on Tomcat with JDK 9 or later.
Exploitation
CVE-2022-22965 is listed in CISA KEV with a 2022-04-25 remediation due date, and EPSS shows a 30-day probability of 0.99638 (99.6th percentile). Public exploit code is referenced in Packet Storm advisories, confirming active exploitation in the wild.
What to do
- Upgrade Spring Framework to a fixed release per the VMware Tanzu advisory and apply vendor patches for affected products (Oracle, Cisco, Siemens, Veritas).
- If immediate patching is not possible, apply the vendor-recommended mitigation (e.g., DataBinder disallowed fields) or deploy as a Spring Boot executable jar rather than a Tomcat WAR.
- Remove or restrict unnecessary Tomcat access log and other writable classpath directories that the exploit abuses.
- Inventory all Spring MVC/WebFlux applications on JDK 9+ and prioritize internet-facing and WAR-deployed instances.
- Monitor vendor advisories for updated guidance, as the flaw is more general than the initial Tomcat WAR exploit path.
Detection
- Hunt for HTTP requests containing class.module.classLoader patterns or other suspicious data-binding parameter names in web access logs.
- Monitor for unexpected creation or modification of JSP files, especially under Tomcat access log or webapp directories.
- Alert on outbound network connections or child processes spawned by the Java application server that are not part of normal behavior.
- Use file integrity monitoring on web application directories and classpath locations to detect dropped webshells.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Exploitation in the wild
CISA added CVE-2022-22965 to the Known Exploited Vulnerabilities catalog on 4 April 2022 as "Spring Framework JDK 9+ Remote Code Execution Vulnerability". Required action: Apply updates per vendor instructions. Federal deadline 25 April 2022.
Affected products
38 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
Track CVE-2022-22965 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2022-22965), CISA KEV, FIRST EPSS (scores of 2026-09-24). This page is refreshed as NVD updates the record.