Skip to main content
Mallory
CriticalExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2022-22965: Spring4Shell

Published Apr 1, 2022 · Updated 9 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.8Critical · v3.1
EPSS89.2%100th percentile
CISA KEVYesAdded Apr 4, 2022
In the wildActivePer CISA KEV
Vendors
Veritas TechnologiesOracle CorporationCisco SystemsSiemensVMware
IdentifiersCVE-2022-22965CWE-20
Also known asspringshell

Spring4Shell is a remote code execution vulnerability in Spring Framework's data-binding functionality affecting Spring MVC and Spring WebFlux applications running on JDK 9 or later. Affected releases include 5.3.0–5.3.17, 5.2.x through 5.2.19, and older unsupported versions. Crafted request parameters can traverse bound-object properties through the Java module's ClassLoader reference, bypassing restrictions on direct ClassLoader access. In the demonstrated Apache Tomcat WAR-deployment exploit, attackers manipulate AccessLogValve properties to write a JSP web shell into a web-accessible application directory, enabling arbitrary command execution. Default Spring Boot executable JAR deployments are not vulnerable to this specific exploit; that exclusion does not establish immunity to every possible exploitation path.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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 allows unauthenticated remote code execution with the privileges of the application-server process, potentially compromising confidentiality, integrity, and availability. Attackers can access or modify application data, install web shells and malware, steal accessible credentials, and disrupt services. In-the-wild exploitation has deployed Mirai botnet malware. Cryptomining, ransomware deployment, and further network compromise are possible downstream consequences, not intrinsic outcomes of every successful exploit.

Mitigation

If you can’t patch tonight, do this now.

If immediate upgrading is impossible, configure WebDataBinder disallowedFields to block class-property traversal. A global @ControllerAdvice workaround can be overridden by local @InitBinder methods; a more fail-safe implementation applies restrictions after all binder initialization using the appropriate handler-adapter customization. Supplement this with request filtering for class-property traversal patterns and restricted network access to affected applications. Tomcat updates 10.0.20, 9.0.62, and 8.5.78 address the demonstrated container-specific exploitation path but do not replace the Spring Framework fix. Restricting application-server write permissions to web-served locations can further obstruct the demonstrated web-shell technique.

Remediation

Patch, then assume compromise.

Upgrade Spring Framework to a currently supported release containing the fix. The original fixed releases were 5.3.18 and 5.2.20.RELEASE; corresponding Spring Boot updates were 2.6.6 and 2.5.12. Rebuild and redeploy applications to replace vulnerable dependencies. For third-party products embedding Spring, install the applicable vendor update rather than independently replacing bundled libraries. Investigate exposed installations for web shells, unexpected child processes, and other compromise evidence; patching alone does not remove an existing compromise.

Public exploits

Exploits

36 exploits validated by Mallory's analysis. Hidden: 23 rejected by Mallory's analysis as not a working exploit; 1 not yet analyzed, such as Exploit-DB entries. Showing the 25 most capable, earliest first.

View more in app →
spring_framework_rce_spring4shell.rbThis repository contains a Metasploit module that exploits the Spring4Shell (CVE-2022-22965) vulnerability in the Spring Framework. The exploit targets applications running vulnerable versions of Spring on JDK 9+ and deployed as a traditional WAR in a standalone Tomcat instance. The module works by sending crafted HTTP requests that manipulate the Tomcat class loader via request parameters, allowing the attacker to write and execute a JSP payload on the server. The payload can be a Java shell or a platform-specific executable, providing remote code execution capabilities. The module is highly configurable, allowing the user to specify the target URI, payload path, HTTP method, and writable directory. The attack vector is network-based, requiring HTTP(S) access to the vulnerable application. The main file is a Ruby script designed for use within the Metasploit framework, and it leverages several Metasploit mixins for HTTP communication, file dropping, and payload generation. The repository structure is simple, containing only the exploit module file.Disclosed Mar 31, 2022 · Framework: metasploit · ruby · networkWeaponizedSpring4Shell-POCThis repository provides a working proof-of-concept (POC) exploit for the Spring4Shell vulnerability (CVE-2022-22965), targeting Java web applications running on Apache Tomcat with a vulnerable version of the Spring Framework. The main exploit logic is implemented in 'poc.py', a Python script that sends a crafted POST request to a specified URL, exploiting the vulnerability to write a JSP webshell ('tomcatwar.jsp') to the server's web root. Once deployed, the webshell allows remote attackers to execute arbitrary commands via HTTP requests. The repository also includes a Dockerized vulnerable application ('vulnerable-tomcat/') for testing, which is a Spring Boot application packaged as a WAR and deployed on Tomcat. The exploit is operational and demonstrates real-world impact by providing remote code execution capabilities. The main attack vector is network-based, requiring access to the vulnerable web application endpoint. The repository is well-structured, with clear separation between exploit code, vulnerable application, and supporting files.BobTheShoplifter · Disclosed Mar 30, 2022 · python · java · networkOperationalspring-core-rceThis repository provides an operational exploit for CVE-2022-22965 (Spring4Shell), targeting vulnerable Java applications running on Tomcat with the Spring Framework. The main exploit script, 'exp.py', is a Python tool that allows the user to: - Test for the vulnerability by writing a test JSP file to the target server and checking for a known string in the response. - Deploy a JSP webshell (Behinder shell) for persistent remote code execution. - Customize the directory and filename for the webshell. - Use a proxy for requests. The exploit works by sending crafted HTTP POST requests to a user-supplied URL, exploiting the Spring Core RCE vulnerability to write a JSP file to the server's webroot. The script supports both detection (non-intrusive) and full exploitation (webshell deployment). The README provides detailed usage instructions, example commands, and environment setup guidance, including Docker-based vulnerable environments for testing. The repository also references related projects and resources for further information.Mr-xn · Disclosed Mar 30, 2022 · python · networkOperationalSpringShellThis repository contains a working proof-of-concept exploit for CVE-2022-22965 (Spring Core RCE, also known as Spring4Shell). The exploit is implemented in Python (exp.py) and targets vulnerable Spring Framework applications running on JDK 9+ (commonly in Tomcat environments). The exploit works by sending a specially crafted HTTP POST request to the target, abusing classLoader properties to write a JSP webshell (tomcatwar.jsp) to the web root directory. Once deployed, the webshell can be accessed via HTTP and allows arbitrary command execution by passing the correct parameters (pwd=j&cmd=...). The README provides detailed usage instructions, including how to set up a vulnerable Docker environment for testing, and demonstrates exploitation steps. The repository is operational and provides a real, working exploit with a functional payload (webshell).TheGejr · Disclosed Mar 30, 2022 · python · networkOperationalSpring4Shell-POCThis repository provides a full proof-of-concept (PoC) exploit for the Spring4Shell vulnerability (CVE-2022-22965), targeting vulnerable Spring Core applications running on Tomcat 9.0.59. The repository includes a simple Java Spring Boot web application (source in src/main/java), a Dockerfile to build and run the vulnerable environment, and a Python script (exploit.py) that automates exploitation. The exploit works by abusing the vulnerable application's ability to modify Tomcat's logging configuration via HTTP POST requests, causing Tomcat to write a malicious JSP web shell to the webapps directory. The attacker can then access this shell via HTTP and execute arbitrary commands using the 'cmd' parameter. Key endpoints include the application's greeting form at /helloworld/greeting (used for exploitation) and the resulting web shell at /shell.jsp. The exploit is operational and provides a working web shell if the target is vulnerable and configured as expected. The repository is well-structured, with clear separation between the vulnerable application, exploit code, and supporting files.reznok · Disclosed Mar 31, 2022 · python · java · networkOperationalCVE-2022-22965-GUItoolsThis repository contains a Python GUI exploit tool targeting CVE-2022-22965 (Spring4Shell), a critical remote code execution vulnerability in the Spring Framework. The main file, 'spring-core-rce.py', provides a Tkinter-based interface where the user can input a target URL and a system command. Upon execution, the tool sends a specially crafted HTTP POST request to the target, exploiting the vulnerability to write a JSP webshell ('temper.jsp') into the webapps/ROOT directory of the server. The tool then accesses this webshell via an HTTP GET request, passing the command to be executed. The result is displayed in the GUI. The exploit is operational and provides remote command execution capabilities. The README is minimal and mostly informational, with no additional code. No hardcoded IPs or domains are present; the user supplies the target URL. The exploit is not part of a framework and is a standalone proof-of-concept with a functional payload.Bouquets-ai · Disclosed Mar 31, 2022 · python · networkOperationalspring-core-rceThis repository provides a Python exploit script (spring-core-rce.py) targeting the Spring Framework Core Remote Code Execution vulnerability (CVE-2022-22965, also known as Spring4Shell). The exploit allows both non-destructive vulnerability checking and full exploitation by writing a JSP webshell to the target server. The webshell is password-protected (password: 'k3rwin') and allows remote command execution via HTTP requests, supporting both Linux and Windows targets. The script can operate on a single URL or in batch mode using a file of URLs. The README provides detailed usage instructions, example commands, and references to both local and online vulnerable environments. The main attack vector is network-based, exploiting HTTP endpoints on vulnerable Spring applications. The payload is a JSP webshell written to the target's webapps/ROOT directory. The repository consists of three files: the main exploit script (Python), a requirements.txt for dependencies, and a README with usage and background information.k3rwin · Disclosed Mar 31, 2022 · python · networkOperationalSpringFramework_CVE-2022-22965_RCEThis repository provides a Python exploit script targeting the Spring Framework remote code execution vulnerability CVE-2022-22965 (also known as Spring4Shell). The main exploit file, 'SpringFramework_CVE-2022-22965_RCE.py', sends a crafted HTTP POST request to a vulnerable Spring application, exploiting classLoader manipulation to write a JSP webshell ('Shell.jsp') to the server's webapps/ROOT directory. Once the webshell is deployed, the script accesses it via HTTP GET requests, allowing the attacker to execute arbitrary system commands on the target server. The README.md provides usage instructions, including example commands and a Docker environment for testing. The exploit is operational, providing a working payload (webshell) and command execution capability, but is not part of a larger framework. The only code file is in Python, and the attack vector is network-based, requiring HTTP access to the vulnerable application.SecNN · Disclosed Apr 1, 2022 · python · networkOperationalCVE-2022-22965This repository is a Go-based exploit tool targeting the Spring4Shell vulnerability (CVE-2022-22965) in the Spring Core framework. The main exploit logic resides in 'main.go', which provides command-line options to show vulnerability information, verify if a target is vulnerable, and exploit the vulnerability to achieve remote code execution. The tool accepts targets via command-line arguments, files, or standard input, and supports concurrent execution using goroutines. The README provides usage examples, including how to verify and exploit a target, and notes that the default file upload path is 'webapps/ROOT/'. The exploit works by sending crafted HTTP requests to manipulate the class loader and upload a web shell or execute arbitrary code. The repository is structured with standard Go project files and CI/CD configuration, with 'main.go' as the sole code file implementing the exploit logic. The tool is operational and can be used to test or exploit vulnerable Spring Core instances running on JDK 9.0 or above.zer0yu · Disclosed Apr 1, 2022 · go · networkOperationalCVE-2022-22965This repository is a proof-of-concept exploit for the Spring4Shell vulnerability (CVE-2022-22965), which affects certain versions of the Spring Framework running on JDK 9+ in a Tomcat environment. The repository contains both a vulnerable Java web application (using Spring Boot) and a Python exploit script (exploit.py). The Java application exposes a '/greeting' endpoint, which is used by the exploit to trigger the vulnerability. The exploit.py script sends specially crafted POST requests to the target endpoint, abusing class loader properties to write a JSP webshell (cmd.jsp) to the webapps/ROOT directory of the Tomcat server. Once the webshell is uploaded, the attacker can execute arbitrary system commands by sending HTTP requests to the webshell with the 'cmd' parameter. The repository also includes Docker and Maven configuration files to facilitate building and running the vulnerable application. The main exploit capability is remote code execution via a network-accessible endpoint, resulting in a persistent webshell on the target server.me2nuk · Disclosed Apr 1, 2022 · python · java · networkOperationalCVE-2022-22965_Spring_Core_RCEThis repository contains a Python exploit script (exp.py) and a README.md for CVE-2022-22965, a critical remote code execution vulnerability in the Spring Framework (Spring4Shell). The exploit targets applications running on JDK 9+ with a vulnerable Spring Core version and a Tomcat backend. The script works by abusing class loader log configuration to write a JSP web shell to the target's web directory. Once deployed, the shell allows arbitrary command execution via HTTP requests (e.g., http://target/shell.jsp?cmd=whoami). The README provides background, setup instructions (including a Docker-based vulnerable environment), and mitigation advice. The exploit is operational, providing a working web shell payload, and is not part of a larger framework. The main entry point is exp.py, which takes the target URL and optional file/directory arguments for shell placement.wjl110 · Disclosed Apr 2, 2022 · python · networkOperationalCVE-2022-22965This repository contains a Python exploit script (exploit.py) targeting the Spring4Shell vulnerability (CVE-2022-22965) in the Spring Framework. The exploit works by sending a specially crafted POST request to a vulnerable server, manipulating class loader properties to write a JSP webshell into the webapps directory of the target (typically running on Apache Tomcat). The script allows the user to specify the target URL, the desired filename for the webshell, a password to protect the shell, and the directory for upload (defaulting to ROOT). If successful, the attacker can access the webshell via HTTP and execute arbitrary system commands by providing the correct password and command parameters. The repository also includes a README with basic usage instructions and a GPLv3 license. The main exploit logic is contained in exploit.py, which is the only code file in the repository.0xrobiul · Disclosed Apr 5, 2022 · python · networkOperationalCVE-2022-22965_Spring4ShellThis repository contains a Python-based exploit for CVE-2022-22965 (Spring4Shell), a critical remote code execution vulnerability in the Spring Framework when deployed on Apache Tomcat. The exploit (exploit.py) sends a specially crafted HTTP POST request to the target server, leveraging classLoader manipulation to write a password-protected JSP webshell to the webapps directory (default: ROOT) of the Tomcat server. The webshell allows remote command execution via HTTP requests, protected by a user-supplied password. The README provides background on the vulnerability, exploitation conditions, and usage instructions. The exploit is operational, requiring the attacker to specify the target URL and optionally the shell filename, password, and upload directory. The main attack vector is network-based, targeting HTTP endpoints on vulnerable Java web servers. The repository is structured with a single exploit script and a README, and does not include detection scripts or fake content.LudovicPatho · Disclosed Apr 5, 2022 · python · networkOperationalspringboot_CVE-2022-22965This repository contains a single Python exploit script for CVE-2022-22965 (Spring4Shell), targeting vulnerable Spring Boot applications running on JDK 9 or newer. The exploit is implemented as a POC module for the pocsuite3 framework. It works by exploiting a class loader vulnerability to write a JSP webshell to the Tomcat webapps directory (default: webapps/ROOT/), then accesses the webshell via HTTP to execute arbitrary commands. The script provides both verification and attack modes, and allows customization of the target path and command. The only other file is a README with an image, and all exploit logic resides in 'springboot_CVE-2022-22965.py'.wikiZ · Disclosed Apr 7, 2022 · Framework: pocsuite3 · python · networkOperationalspring4shell_behinderThis repository is a Python-based exploit tool targeting the Spring4Shell vulnerability (CVE-2022-22965) in the Spring Framework. The main script, 'spring_rce.py', automates the exploitation process against multiple targets listed in a file (e.g., 'test.txt'). It verifies which endpoints are alive, then attempts to exploit them by uploading a password-protected JSP webshell to the server's webapps/ROOT directory. The tool randomizes the shell name and password for each attempt, and if successful, prints the shell URL and password. The exploit is designed for batch operation, using a thread pool to process multiple targets efficiently. The payload is compatible with Behinder 3.0 Beta9 for post-exploitation control. The repository includes a README with usage instructions, a requirements.txt for dependencies, and a sample target list. No detection-only scripts are present; the code is a functional exploit with operational payload delivery.4nth0ny1130 · Disclosed Apr 7, 2022 · python · networkOperationalCVE-2022-22965This repository contains a Python exploit script ('spring4shell') targeting CVE-2022-22965 (Spring4Shell), a remote code execution vulnerability in the Java Spring Framework running on Tomcat with JDK >= 9. The exploit works by uploading a randomly named JSP webshell to the target server, which is then accessible via a constructed URL. The script provides a pseudo-interactive shell prompt, allowing the user to execute arbitrary commands on the compromised server through the webshell. The exploit supports options for specifying the filename, password protection for the shell, and upload directory. The README provides detailed usage instructions and describes the vulnerability, prerequisites, and limitations. The only code file is the Python script, which is self-contained and does not rely on any exploit framework. The main attack vector is network-based, requiring only the target's URL. The endpoint for exploitation is the uploaded webshell, which is fingerprintable by its URL pattern.p1ckzi · Disclosed Apr 12, 2022 · python · networkOperationalCVE-2022-22965This repository contains a proof-of-concept exploit for the Spring4Shell vulnerability (CVE-2022-22965) affecting Spring Core applications running on Apache Tomcat with Java 9 or higher. The repository consists of a README.md explaining the vulnerability and exploitation steps, and a Python script (poc.py) that automates the attack. The script sends a specially crafted HTTP POST request to the target, exploiting the vulnerability to write a JSP webshell to the server's webapps directory. If successful, the attacker can access the webshell via HTTP and execute arbitrary commands using the provided password. The exploit is operational, providing a working payload (JSP webshell), and targets specific vulnerable configurations of Spring Core on Tomcat. No hardcoded IPs or domains are present; the script requires the user to specify the target URL.LucasPDiniz · Disclosed Nov 12, 2023 · python · networkOperationalCVE-2022-22965This repository provides a proof-of-concept (POC) exploit for the Spring4Shell vulnerability (CVE-2022-22965), targeting vulnerable Java applications running the Spring Framework. The repository contains two main exploit scripts: 'spring4shell.py' (Python) and 'spring4shell.sh' (Bash). Both scripts exploit the vulnerability by sending a specially crafted HTTP POST request to the target, which results in the upload of a JSP webshell to the server's webapps directory. The webshell allows remote command execution via HTTP requests, protected by a password parameter. The Python script allows customization of the shell filename, password, and directory, while the Bash script uses hardcoded values and demonstrates usage with curl and browser access. The exploit requires the target to be accessible over the network and running a vulnerable configuration. No detection scripts are present; both scripts are operational exploits that provide remote code execution capabilities.osungjinwoo · Disclosed Aug 1, 2025 · python · bash · networkOperationalCS4239-Spring4Shell-POCThis repository is a proof-of-concept (PoC) for CVE-2022-22965 (Spring4Shell), demonstrating remote code execution on a vulnerable Spring Boot application running on Tomcat. The structure includes Docker and Maven files to build both a vulnerable and a patched version of the application, with the vulnerable version using Spring Boot 2.6.3 (Spring Framework 5.3.15) and the patched version using Spring Boot 2.6.6 (Spring Framework 5.3.18). The main exploit logic is in 'exploit.py', a Python script that abuses the Spring4Shell vulnerability by manipulating Tomcat's logging configuration via HTTP POST requests to the /helloworld/greeting endpoint. This results in a JSP web shell (shell.jsp) being written to the server, which can then be accessed to execute arbitrary system commands via the 'cmd' parameter. The repository includes all necessary files to build and run the demo environments using Docker Compose, and provides clear instructions in the README. The exploit is operational, providing a working web shell if the target is vulnerable, and is not just a detection script.xenosf · Disclosed Nov 14, 2025 · python · java · networkOperationalGhostStrikeThis repository is a Python-based automated exploitation framework targeting the Spring4Shell vulnerability (CVE-2022-22965) in the Spring Framework. The main entry point is 'ghoststrike.py', which takes user-supplied arguments for the target URL, attacker's IP (LHOST), and port (LPORT). It sets up a netcat listener on the attacker's machine and invokes the Spring4Shell exploit module ('modules/spring4shell.py'). The exploit attempts to trigger remote code execution on the target by sending a specially crafted HTTP POST request with headers designed to exploit the vulnerability, resulting in a reverse shell connection back to the attacker. The 'payloads/generate_webshell.py' script can generate a Java-based webshell payload for more advanced exploitation, encoding a Java reverse shell class as base64. The repository is modular and designed for future expansion to other exploits. No hardcoded endpoints are present; all targets and callback addresses are user-supplied at runtime. The exploit is operational and provides a working reverse shell if the target is vulnerable.mylo-2001 · Disclosed Nov 20, 2025 · python · java · networkOperationalCVE-2022-22965This repository contains a C-language exploit for CVE-2022-22965 (Spring4Shell), a critical remote code execution vulnerability in the Spring Framework when deployed on Apache Tomcat with JDK 9+. The repository consists of three files: a LICENSE, a detailed README.md, and the main exploit code in main.c. The exploit is interactive and guides the user through entering a target URL and desired webshell filename. It crafts a malicious POST request to the target, exploiting Spring's class loader manipulation to write a JSP webshell to the Tomcat webapps/ROOT directory. The webshell is then accessed via HTTP, allowing the attacker to execute arbitrary system commands by sending requests to the deployed JSP file with a password-protected 'cmd' parameter. The exploit provides an interactive shell-like interface for command execution. The code is operational and not just a proof-of-concept, as it automates both exploitation and post-exploitation (webshell interaction). The main attack vector is network-based, targeting HTTP(S) endpoints of vulnerable Spring applications. The repository is standalone and not part of a larger framework.Hghost0x00 · Disclosed Dec 11, 2025 · c · networkOperationalCVE-2022-22965This repository contains a Python exploit script (CVE-2022-22965.py) and a README.md for CVE-2022-22965, also known as Spring4Shell. The exploit targets vulnerable Spring Framework applications running on JDK 9+ and Apache Tomcat, deployed as WAR packages. The script abuses class loader log configuration to write a JSP webshell to the server, enabling remote command execution via HTTP requests. The README provides usage instructions, affected versions, and an example of successful exploitation, including the URL to access the uploaded shell. The repository is operational, providing a working exploit and not just a proof of concept.nhattanhh · Disclosed Dec 22, 2025 · python · networkOperationalCVE-2022-22965This repository contains a single C language exploit (CVE-2022-22965.c) targeting the Spring4Shell (CVE-2022-22965) vulnerability in the Spring Framework. The exploit is interactive and guides the user through providing a target URL and desired webshell filename. It crafts a malicious HTTP POST request to the target, exploiting the vulnerability to write a JSP webshell into the Tomcat webapps/ROOT directory. Once the webshell is deployed, the exploit provides an interactive shell interface, allowing the user to send arbitrary system commands to the target via HTTP requests to the webshell. The code uses 'curl' for HTTP requests and stores responses in a temporary file. The repository also includes a LICENSE file (MIT) and a placeholder README.md. The exploit is operational, providing a working attack chain from vulnerability exploitation to post-exploitation command execution.Anon2Fear · Disclosed Dec 23, 2025 · c · networkOperationalCVE-2022-22965Repository contains a single Python exploit script and a descriptive README for CVE-2022-22965 (Spring4Shell). The exploit (spring4shell.py) performs a network-based RCE by sending a crafted application/x-www-form-urlencoded POST to a user-supplied target URL, abusing Spring’s data binding to set Tomcat pipeline/AccessLogValve properties (pattern/suffix/directory/prefix/fileDateFormat). The injected pattern writes a JSP webshell that executes arbitrary OS commands when called with GET parameters pwd=j and cmd=<command>, returning command output in the HTTP response. After sending the POST, the script waits ~8 seconds, then probes for the webshell at (1) <target_url>/<shell_name>.jsp and (2) <scheme>://<netloc>/<shell_name>.jsp, and if found, provides an interactive loop to run commands. No external C2 infrastructure is embedded; all interaction is direct HTTP(S) to the target. The script disables TLS warnings and uses verify=False, indicating it will work against HTTPS targets with invalid certificates.0xAshwesker · Disclosed Mar 1, 2026 · python · networkOperationalCVE-2022-22965Repository contains a single Python exploit script and a descriptive README for CVE-2022-22965 (Spring4Shell). The exploit (spring4shell.py) performs a network-based RCE attack by sending an HTTP POST with specially crafted Spring data-binding parameters that target Tomcat internals (class.module.classLoader.resources.context.parent.pipeline.first.*). The parameters set a JSP payload as the logging/pipeline pattern and configure prefix/suffix/directory so Tomcat writes a webshell file into webapps/ROOT with a chosen name (default: tomcatwar.jsp). After a short delay, the script probes the expected webshell URL and, on success, provides an interactive loop that executes arbitrary commands via GET parameters (pwd=j, cmd=<command>). No hardcoded C2 infrastructure is present; all targeting is user-supplied via -u/--url. Structure: README.md (background, affected versions/conditions, mitigation) and spring4shell.py (entry point with argparse, exploit() to plant shell, interactive_shell() to run commands).zaryouhashraf · Disclosed Mar 1, 2026 · python · markdown · networkOperational
Exposure surface

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.

VendorProductType
Cisco SystemsCx Cloud Agentapplication
Oracle CorporationCommerce Platformapplication
Oracle CorporationCommunications Cloud Native Core Automated Test Suiteapplication
Oracle CorporationCommunications Cloud Native Core Binding Support Functionapplication
Oracle CorporationCommunications Cloud Native Core Consoleapplication
Oracle CorporationCommunications Cloud Native Core Network Exposure Functionapplication
Oracle CorporationCommunications Cloud Native Core Network Function Cloud Native Environmentapplication
Oracle CorporationCommunications Cloud Native Core Network Repository Functionapplication
Oracle CorporationCommunications Cloud Native Core Network Slice Selection Functionapplication
Oracle CorporationCommunications Cloud Native Core Policyapplication
Oracle CorporationCommunications Cloud Native Core Security Edge Protection Proxyapplication
Oracle CorporationCommunications Cloud Native Core Unified Data Repositoryapplication
Oracle CorporationCommunications Policy Managementapplication
Oracle CorporationCommunications Unified Inventory Managementapplication
Oracle CorporationFinancial Services Analytical Applications Infrastructureapplication
Oracle CorporationFinancial Services Behavior Detection Platformapplication
Oracle CorporationFinancial Services Enterprise Case Managementapplication
Oracle CorporationMysql Enterprise Monitorapplication
Oracle CorporationOracle Weblogic Serverapplication
Oracle CorporationProduct Lifecycle Analyticsapplication
Oracle CorporationRetail Bulk Data Integrationapplication
Oracle CorporationRetail Customer Management And Segmentation Foundationapplication
Oracle CorporationRetail Financial Integrationapplication
Oracle CorporationRetail Integration Busapplication
Oracle CorporationRetail Merchandising Systemapplication
Oracle CorporationRetail Xstore Point Of Serviceapplication
Oracle CorporationSd-Wan Edgeapplication
SiemensOperation Schedulerapplication
SiemensSimatic Speech Assistant For Machinesapplication
SiemensSinec Network Management Systemapplication
SiemensSipass Integratedapplication
SiemensSiveillance Identityapplication
Veritas TechnologiesAccess Applianceapplication
Veritas TechnologiesFlex Applianceapplication
Veritas TechnologiesNetbackup Applianceapplication
Veritas TechnologiesNetbackup Flex Scale Applianceapplication
Veritas TechnologiesNetbackup Virtual Appliancehardware
VMwareSpring Frameworkapplication
FAQ

Frequently asked questions

Is CVE-2022-22965 exploited in the wild?
Yes. As of Nov 19, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Apr 4, 2022.
Is there a public exploit for CVE-2022-22965?
Yes. Mallory tracks 36 public exploits or proofs of concept for CVE-2022-22965, the earliest disclosed Mar 30, 2022.
Is there a patch for CVE-2022-22965?
Upgrade Spring Framework to a currently supported release containing the fix. The original fixed releases were 5.3.18 and 5.2.20.RELEASE; corresponding Spring Boot updates were 2.6.6 and 2.5.12.
What products are affected by CVE-2022-22965?
VMware Spring Framework, Veritas Technologies Access Appliance, Oracle Corporation Commerce Platform, Oracle Corporation Communications Cloud Native Core Automated Test Suite, Oracle Corporation Communications Cloud Native Core Binding Support Function, and at least 33 more.
How severe is CVE-2022-22965?
CVE-2022-22965 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 89.2% (100th percentile) as of Nov 19, 2026.
Activity feed

Recent activity

63 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+40 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence3Every report linking this CVE to a named adversary.
Associated malware20Malware families linked to this CVE, with evidence and IOCs.
Detection signatures13YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity3Community discussion across Reddit, Mastodon, and other social sources.