home / blog
2026-11-26 · critical
CVE-2019-0232: Critical RCE in Apache Tomcat via CGI Servlet
CVE-2019-0232: Apache Tomcat vulnerable to RCE on Windows via CGI Servlet with parameters enabled.

CVE-2019-0232 affects Apache Tomcat when running on Windows with enableCmdLineArguments enabled in the CGI Servlet. The vulnerability allows remote code execution through a bug in how the JRE passes command line arguments to Windows. The CGI Servlet is disabled by default.
With a CVSS score of 9.3, this vulnerability is classified as critical. It was fixed in Tomcat versions 9.0.9, 8.5.35, and 7.0.94. Community signals confirm the existence of exploits for this vulnerability, as indicated in public repositories.
For defense, we recommend disabling the enableCmdLineArguments option if not needed, or immediately updating Tomcat instances to the corrected versions. Verify current configurations to ensure the CGI Servlet is not unnecessarily enabled.
At a glance
- What
- Remote Code Execution vulnerability in Apache Tomcat CGI Servlet when enableCmdLineArguments is enabled on Windows
- Severity
- CVSS 9.3 (critical)
- Affected versions
- Tomcat 9.0.0.M1-9.0.17, 8.5.0-8.5.39, 7.0.0-7.0.93 on Windows
- Fix
- Update to Tomcat 9.0.9+ / 8.5.35+ / 7.0.94+
- Status
- Fixed with patches available
- Action
- Disable enableCmdLineArguments or update affected versions
Sources: NVD, CVE-2019-0232