CVE-2019-0232: When running on Windows with enableCmdLineArguments enabled, the CGI Servlet in Apache Tomcat 9.0.0.M1 to 9.0.17, 8.5.0 to 8.5.39 and 7.0.0 to 7.0.93 is vulnerable to Remote Code Execution due to a bug in the way the JRE passes command line arguments to Windows
This Apache advisory covers CVE-2019-0232 in Tomcat.
- CVE-2019-0232
Key facts
- Weakness
- Remote Code Execution
- CISA SSVC
- Exploitation: none observed. Automatable: no. Technical impact: total. CISA, .
- CISA KEV
- Not listed (catalogue checked )
- Affected
- Tomcat 9.0.0.M1 to 9.0.17; Tomcat 8.5.0 to 8.5.39; Tomcat 7.0.0 to 7.0.93
- Source published
- Source revised
- Listed by VulniPulse
Compiled by VulniPulse from the linked sources. How records are collected and checked.
Affected products & platforms
Description
When running on Windows with enableCmdLineArguments enabled, the CGI Servlet in Apache Tomcat 9.0.0.M1 to 9.0.17, 8.5.0 to 8.5.39 and 7.0.0 to 7.0.93 is vulnerable to Remote Code Execution due to a bug in the way the JRE passes command line arguments to Windows. The CGI Servlet is disabled by default.
For a detailed explanation of the JRE behaviour, see Markus Wulftange's blog ( ) and this archived MSDN blog ( ).
Text from the source record.
- Tomcat 9.0.0.M1 to 9.0.17
- Tomcat 8.5.0 to 8.5.39
- Tomcat 7.0.0 to 7.0.93
Official advisory · medium-confidence parse· fetched ·verify at source
How to fix CVE-2019-0232
Workarounds
- The CGI option enableCmdLineArguments is disable by default in Tomcat 9.0.x (and will be disabled by default in all versions in response to this vulnerability).
End-of-life dates for Apache Tomcat
More Apache Software Foundation advisories
CVE-2026-34487Apr 9, 2026Insertion of Sensitive Information into Log File vulnerability in the cloud membershipCVE-2026-34483Apr 9, 2026Apache Tomcat: Improper Encoding or Escaping of OutputCVE-2026-29145Apr 9, 2026Apache Tomcat: CLIENT_CERT authentication does not fail as expected for some scenariosCVE-2026-29129Apr 9, 2026Apache Tomcat: Configured cipher preference order not preserved vulnerability in ApacheCVE-2026-24880Apr 9, 2026Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')CVE-2026-86336Nov 10, 2026Apache TomEE running on JDK 21 or later skips EJB method authorization checks
Get an email when Apache Tomcat publishes the next one.
See Apache Tomcat's last 90 days of advisories first. Then choose one product with live alerts free for life, or a free month of real-time alerts on everything with the severity, the fixed version and the vendor's link (card needed, then US$15/month; we email you before the first charge).
iPhone and Android apps · New on the App Store
Monitor future Apache Software Foundation CVEs from your phone.
Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.