CVE-2019-12418
Insufficiently Protected Credentials in Apache Tomcat
Also known as GHSA-hh3j-x4mc-g48r
Mitigation
- Upgrade org.apache.tomcat.embed:tomcat-embed-core to one of 7.0.99, 8.5.49, 9.0.29 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.apache.tomcat.embed:tomcat-embed-core (< 7.0.99)
- Anyone running Apache Software Foundation Apache Tomcat 9.0.0.M1 to 9.0.28; 8.5.0 to 8.5.47; 7.0.0 to 7.0.97
Vulnerability facts
- Affected
- org.apache.tomcat.embed:tomcat-embed-core < 7.0.99
- Fixed in
- 7.0.99, 8.5.49, 9.0.29
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.0 (v3.1, NVD)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 1.22% chance of exploitation in 30 days (percentile 69, 2026-11-26)
- CWE
- CWE-522
- Modified
Description
When Apache Tomcat 9.0.0.M1 to 9.0.28, 8.5.0 to 8.5.47, 7.0.0 and 7.0.97 is configured with the JMX Remote Lifecycle Listener, a local attacker without access to the Tomcat process or configuration files is able to manipulate the RMI registry to perform a man-in-the-middle attack to capture user names and passwords used to access the JMX interface. The attacker can then use these credentials to access the JMX interface and gain complete control over the Tomcat instance.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.tomcat.embed:tomcat-embed-core | < 7.0.99 | 7.0.99, 8.5.49, 9.0.29 | osv |
| Apache Software Foundation Apache Tomcat | 9.0.0.M1 to 9.0.28; 8.5.0 to 8.5.47; 7.0.0 to 7.0.97 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2019-12418. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2019-12418.md Affected: org.apache.tomcat.embed:tomcat-embed-core < 7.0.99 Fixed in: 7.0.99, 8.5.49, 9.0.29 Steps: 1. Search this machine and project for org.apache.tomcat.embed:tomcat-embed-core (Maven), Apache Software Foundation Apache Tomcat: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://lists.apache.org/thread.html/43530b91506e2e0c11cfbe691173f5df8c48f51b98262426d7493b67%40%3Cannounce.tomcat.apache.org%3E
- https://www.debian.org/security/2019/dsa-4596
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00013.html
- https://usn.ubuntu.com/4251-1/
- https://security.gentoo.org/glsa/202003-43
- https://www.debian.org/security/2020/dsa-4680
- https://nvd.nist.gov/vuln/detail/CVE-2019-12418
Other
- https://seclists.org/bugtraq/2019/Dec/43
- https://security.netapp.com/advisory/ntap-20200107-0001/
- https://support.f5.com/csp/article/K10107360?utm_source=f5support&%3Butm_medium=RSS
- https://lists.debian.org/debian-lts-announce/2020/01/msg00024.html
- https://lists.apache.org/thread.html/r6ccee4e849bc77df0840c7f853f6bd09d426f6741247da2b7429d5d9%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r3bbb800a816d0a51eccc5a228c58736960a9fffafa581a225834d97d%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/raba0fabaf4d56d4325ab2aca8814f0b30a237ab83d8106b115ee279a%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r48c1444845fe15a823e1374674bfc297d5008a5453788099ea14caf0%40%3Cdev.tomcat.apache.org%3E
- https://lists.debian.org/debian-lts-announce/2020/03/msg00029.html
- https://usn.ubuntu.com/4251-1
- https://support.f5.com/csp/article/K10107360?utm_source=f5support&utm_medium=RSS
- https://security.netapp.com/advisory/ntap-20200107-0001
- https://lists.apache.org/thread.html/raba0fabaf4d56d4325ab2aca8814f0b30a237ab83d8106b115ee279a@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r6ccee4e849bc77df0840c7f853f6bd09d426f6741247da2b7429d5d9@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r48c1444845fe15a823e1374674bfc297d5008a5453788099ea14caf0@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r3bbb800a816d0a51eccc5a228c58736960a9fffafa581a225834d97d@%3Cdev.tomcat.apache.org%3E
FAQ
Is CVE-2019-12418 being exploited?
There is no confirmed exploitation: CVE-2019-12418 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.22% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2019-12418?
High: CVSS 7.0 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2019-12418?
org.apache.tomcat.embed:tomcat-embed-core < 7.0.99.
Is there a fix for CVE-2019-12418?
Yes. Fixed in 7.0.99, 8.5.49, 9.0.29. Upgrade org.apache.tomcat.embed:tomcat-embed-core to one of 7.0.99, 8.5.49, 9.0.29 (or later in the same release line).
How do I check if I'm affected by CVE-2019-12418?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.