CVE-2019-0232: When running on Windows with enableCmdLineArguments enabled, the CGI Servlet in Apache Tomcat 9.0.0.M1 to 9.0.
CVE-2019-0232 is a high-severity flaw (CVSS 8.1) affecting tomcat. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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. 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 vu
Why this priority
- High severity
- EPSS top 1%: very likely to be exploited
- Public exploit reference
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.1 (High) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 99.9% (top 1%) |
| CISA exploited list | No |
| Weakness | CWE-78 |
| Published | 2019-04-15 |
| Last modified | 2026-11-02 |
Last updated 2026-11-02 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Exploit-DB: Apache Tomcat - CGIServlet enableCmdLineArguments Remote Code Execution (Metasploit)
- Metasploit: Apache Tomcat CGIServlet enableCmdLineArguments Vulnerability
- Nuclei scan template: Apache Tomcat `CGIServlet` enableCmdLineArguments - Remote Code Execution
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2019-0232?
tomcat: upgrade to newer than 9.0.17. Exact commands for each OS are on this page.
Is CVE-2019-0232 being exploited?
CVE-2019-0232 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2019-0232 affect?
CVE-2019-0232 affects tomcat. Severity is high (CVSS 8.1). 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
How urgent is CVE-2019-0232?
Priority 68/100. High severity; EPSS top 1%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist
Software pages
Apache Tomcat vulnerabilities · Windows vulnerabilities
Related CVEs
- CVE-2019-10072 HIGH 7.5 UPGRADE The fix for CVE-2019-0199 was incomplete and did not address HTTP/2 connection window exhaustion on write in A
- CVE-2019-0221 MEDIUM 6.1 UPGRADE The SSI printenv command in Apache Tomcat 9.0.0.M1 to 9.0.0.17, 8.5.0 to 8.5.39 and 7.0.0 to 7.0.93 echoes use
- CVE-2017-5647 HIGH 7.5 DOWNGRADE A bug in the handling of the pipelined requests in Apache Tomcat 9.0.0.M1 to 9.0.0.M18, 8.5.0 to 8.5.12, 8.0.0
- CVE-2026-34486 HIGH 7.5 EXPLOITED DOWNGRADE DOWNGRADE Apache Tomcat Missing Encryption of Sensitive Data Vulnerability
- CVE-2026-29146 HIGH 7.5 UPGRADE Padding Oracle vulnerability in Apache Tomcat's EncryptInterceptor with default configuration. This issue aff