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 vulnerability). For a detailed explanation of the JRE behaviour, see Markus Wulftange's blog (https://codewhitesec.blogspot.com/2016/02/java-and-command-line-injections-in-windows.html) and this archived MSDN blog (https://web.archive.org/web/20161228144344/https://blogs.msdn.microsoft.com/twistylittlepassagesallalike/2011/04/23/everyone-quotes-command-line-arguments-the-wrong-way/).
CVE-2019-0232
Score elevated to 9.0 because EPSS predicts 100% probability of exploitation within the next 30 days (top 0.1% of all CVEs). NVD baseline CVSS 8.1 retained for reference. Confidence: see factors.
- 108 internet-exposed hosts are running an affected version right now
- High exploitation likelihood — EPSS 100%
A fix is available — apply it.
108 internet-exposed hosts are running an affected version of CVE-2019-0232 right now.
EchelonGraph is the only CVE feed that fuses live vulnerability intelligence with its own live internet-exposure radar — so you see not just that a CVE is exploited, but how much of the internet is exposed to it right now.
- CVSS v3
- 8.1
- EG Score
- 9.0(medium)
- EG Risk
- 85(Track)EG Risk 85/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity90% × 45%Exploitation100% × 40%Automatability30% × 15%Action: Routine — remediate on your standard cadence. - EPSS
- 99.9%
- KEV
- Not listed
Published
April 15, 2019
Last Modified
November 21, 2024
References (64)
- security@apachehttp://packetstormsecurity.com/files/153506/Apache-Tomcat-CGIServlet-enableCmdLineArguments-Remote-Code-Execution.html
- security@apachehttp://seclists.org/fulldisclosure/2019/May/4
- security@apachehttp://www.securityfocus.com/bid/107906
- security@apachehttps://access.redhat.com/errata/RHSA-2019:1712
- security@apachehttps://blog.trendmicro.com/trendlabs-security-intelligence/uncovering-cve-2019-0232-a-remote-code-execution-vulnerability-in-apache-tomcat/
- security@apachehttps://codewhitesec.blogspot.com/2016/02/java-and-command-line-injections-in-windows.html
- security@apachehttps://lists.apache.org/thread.html/1dd0a59c1295cc08ce4c9e7edae5ad2268acc9ba55adcefa0532e5ba%40%3Cdev.tomcat.apache.org%3E
- security@apachehttps://lists.apache.org/thread.html/3d19773b4cf0377db62d1e9328bf9160bf1819f04f988315086931d7%40%3Cdev.tomcat.apache.org%3E
- security@apachehttps://lists.apache.org/thread.html/52ffb9fbf661245386a83a661183d13f1de2e5779fa23837a08e02ac%40%3Ccommits.ofbiz.apache.org%3E
- security@apachehttps://lists.apache.org/thread.html/5f297a4b9080b5f65a05bc139596d0e437d6a539b25e31d29d028767%40%3Cannounce.tomcat.apache.org%3E
- security@apachehttps://lists.apache.org/thread.html/673b6148d92cd7bc99ea2dcf85ad75d57da44fc322d51f37fb529a2a%40%3Ccommits.ofbiz.apache.org%3E
- security@apachehttps://lists.apache.org/thread.html/6af47120905aa7d8fe12f42e8ff2284fb338ba141d3b77b8c7cb61b3%40%3Cdev.tomcat.apache.org%3E
- security@apachehttps://lists.apache.org/thread.html/96849486813a95dfd542e1618b7923ca945508aaf4a4341f674d83e3%40%3Cnotifications.ofbiz.apache.org%3E
- security@apachehttps://lists.apache.org/thread.html/a6c87a09a71162fd563ab1c4e70a08a103e0b7c199fc391f1c9c4c35%40%3Ccommits.ofbiz.apache.org%3E
- security@apachehttps://lists.apache.org/thread.html/dd4b325cdb261183dbf5ce913c102920a8f09c26dae666a98309165b%40%3Cnotifications.ofbiz.apache.org%3E
Patch Availability(2)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | jws5-tomcat-vault-0:1.1.8-1.Final_redhat_1.1.el8jws | 2019-11-20 | redhat |
| redhat | tomcat8 | 2019-07-09 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
Maven(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| org.apache.tomcat.embed:tomcat-embed-core | 7.0.0 ... 7.0.93 (65 versions) | 7.0.94 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
All Vendor Advisories
(2)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
Data Freshness Timeline
(refreshed 3× in last 7d / 9× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-23 01:38 UTCEG score recompute
- 2026-07-22 22:18 UTCEG score recompute
- 2026-07-20 18:02 UTCOSV refresh
- 2026-07-06 16:25 UTCEPSS rescore
- 2026-07-06 16:24 UTCEPSS rescore
- 2026-07-03 13:26 UTCOSV refresh
- 2026-07-01 15:03 UTCEPSS rescore
- 2026-07-01 15:03 UTCEPSS rescore
- 2026-06-28 14:04 UTCEPSS rescore
- 2026-06-17 17:50 UTCEPSS rescore
- 2026-06-15 17:45 UTCEPSS rescore
- 2026-06-15 03:13 UTCOSV refresh
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-27 20:34 UTCEG score recompute
- 2026-05-27 20:34 UTCVendor advisory
Publicly available exploits
(9 references)Working exploit code is in the public domain (1 Metasploit module) (6 GitHub PoCs) (1 Exploit-DB entry). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- GitHub PoCDharan10/CVE-2019-0232First seen Dec 29, 2024
Hi this is a revised and enhanced code for CVE-2019-0232
Open source ↗ - GitHub PoCjaiguptanick/CVE-2019-0232First seen Mar 25, 2021
Vulnerability analysis and PoC for the Apache Tomcat - CGIServlet enableCmdLineArguments Remote Code Execution (RCE)
Open source ↗ - GitHub PoCsetrus/CVE-2019-0232First seen Nov 21, 2019
CVE-2019-0232-Remote Code Execution on Apache Tomcat 7.0.42
Open source ↗ - Exploit-DBEDB-47073✓ verifiedFirst seen Jul 3, 2019
Apache Tomcat - CGIServlet enableCmdLineArguments Remote Code Execution (Metasploit)
Open source ↗ - Open source ↗GitHub PoCcyy95/CVE-2019-0232-EXPFirst seen May 23, 2019
- GitHub PoCjas502n/CVE-2019-0232First seen Apr 16, 2019
Apache Tomcat Remote Code Execution on Windows - CGI-BIN
Open source ↗ - GitHub PoCpyn3rd/CVE-2019-0232First seen Apr 15, 2019
Apache Tomcat Remote Code Execution on Windows
Open source ↗ - Metasploitexploit/windows/http/tomcat_cgi_cmdlineargs✓ verifiedFirst seen Apr 10, 2019
Apache Tomcat CGIServlet enableCmdLineArguments Vulnerability
Open source ↗ - Nucleihttp/cves/2019/CVE-2019-0232.yamlFirst seen Jan 1, 2019
Apache Tomcat `CGIServlet` enableCmdLineArguments - Remote Code Execution
Open source ↗
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat
Same CWE
10 shownCWE-78
Frequently asked(5)
What is CVE-2019-0232?
When was CVE-2019-0232 disclosed?
Is CVE-2019-0232 actively exploited?
What is the CVSS score of CVE-2019-0232?
How do I remediate CVE-2019-0232?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2019-0232
Is Your Infrastructure Affected by CVE-2019-0232?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.