CVE-2020-1938
CVE-2020-1938 — Apache Tomcat Improper Privilege Management Vulnerability
When using the Apache JServ Protocol (AJP), care must be taken when trusting incoming connections to Apache Tomcat. Tomcat treats AJP connections as having higher trust than, for example, a similar HTTP connection. If such connections are available to an attacker, they can be exploited in ways that may be surprising. In Apache Tomcat 9.0.0.M1 to 9.0.0.30, 8.5.0 to 8.5.50 and 7.0.0 to 7.0.99, Tomcat shipped with an AJP Connector enabled by default that listened on all configured IP addresses. It was expected (and recommended in the security guide) that this Connector would be disabled if not required. This vulnerability report identified a mechanism that allowed: - returning arbitrary files from anywhere in the web application - processing any file in the web application as a JSP Further, if the web application allowed file upload and stored those files within the web application (or the attacker was able to control the content of the web application by some other means) then this, along with the ability to process a file as a JSP, made remote code execution possible. It is important to note that mitigation is only required if an AJP port is accessible to untrusted users. Users wishing to take a defence-in-depth approach and block the vector that permits returning arbitrary files and execution as JSP may upgrade to Apache Tomcat 9.0.31, 8.5.51 or 7.0.100 or later. A number of changes were made to the default AJP Connector configuration in 9.0.31 to harden the default configuration. It is likely that users upgrading to 9.0.31, 8.5.51 or 7.0.100 or later will need to make small changes to their configurations.
Published Updated Sources: NVD, Apache (CNA), CISA, FIRST EPSS, GitHub, GitHub Security Advisory, Exploit-DB, Red Hat (VEX), SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Confirmed
CISA KEV, listed Mar 3, 2022
EPSS
99%
top of FIRST's scoreset
CVSS base
9.8
critical · 4 sources
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
Active
none · proof-of-concept · active
Automatable
Yes
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Remediation
The vendor's own words where we have them.
Upgrade org.apache.tomcat.embed:tomcat-embed-core to 9.0.31 or later (maven advisory GHSA-c9hw-wf7x-jp9j).
CISA required action
Apply updates per vendor instructions.
Federal deadline Mar 17, 2022 — passed 1,723 days ago
Red Hat VEX · CVE-2020-1938
vendor_fix: Before applying this update, ensure all previously released errata relevant to your system have been applied. For details about how to apply this update, see: https://access.redha…
vendor_fix: Before applying this update, ensure all previously released errata relevant to your system have been applied. The JBoss server process must be restarted for the update to take eff…
vendor_fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Treat as emergency remediation because CISA KEV status is present.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Apache | Apache Tomcat | Apache Tomcat 9.0.0.M1 to 9.0.0.30 | Vulnerable |
| Apache | Apache Tomcat | 8.5.0 to 8.5.50 | Vulnerable |
| Apache | Apache Tomcat | 7.0.0 to 7.0.99 | Vulnerable |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 9.0.0, < 9.0.31 | Vulnerable |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 8.0.0, < 8.5.51 | Vulnerable |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 7.0.0, < 7.0.100 | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Availability
High
Confidentiality
High
Integrity
High
Scope
Unchanged
Attack Complexity
Low
Attack Vector
Network
Privileges Req
None
User Interaction
None
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 9.8 | CVSS 3.1 | critical | 3.9 | 5.9 | NVD, CNA |
| 7.5 | CVSS 2.0 | high | 10 | 6.4 | NVD |
| 9.8 | CVSS 3.1 | critical | n/a | n/a | GHSA |
| 7.6 | CVSS 3.1 | high | n/a | n/a | Red Hat (VEX) |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness & attack patterns
- CWE-269Improper Privilege Management
Inferred from the weakness class — not observed against this CVE.
- T1548Abuse Elevation Control Mechanism
CISA KEV details
CISA lists a CVE here once it has evidence of exploitation against real targets.
Listed
Mar 3, 2022
Federal deadline
Mar 17, 2022
passed 1,723 days ago
Ransomware use
Unknown
CISA records ransomware use only for campaigns it has confirmed, so “Unknown” means unrecorded, not ruled out. The deadline binds US federal agencies; for everyone else it is a date to argue against.
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
582
1 of the 5 sampled are weaponized
Exploit entries
55
Exploit-DB and CTI exploit indexes
Social mentions
Posts naming this CVE. Attention, not evidence of exploitation — it spikes on disclosure and decays whether or not anything is exploited.
interesting cve vulnerability list of exploited device's someone posted on discord 🤔 23k device's on one cve being CVE-2020-1938 Ghostcat - Apache Tomcat - AJP File Read/Inclusion Vulnerability #cve #exploit #vulnerability https://t.co/6rT5169Ouy
@dump_tcp· Oct 11, 2026
https://t.co/32Venk1ZUz exploits #CVE-2020-1938 (#Tomcat AJP) for file reads. Combined with https://t.co/REDsyUux9o mapping internal IPs and routes for /sql, /ldap, /vdi. They were mapping the network. Targeted intrusion. https://t.co/SQ9vmusAqf
@_AkatsukiLegion· Aug 28, 2026
Recon → root → a full OSCP-style report in 8 minutes. An AI assistant runs the whole lab engagement with you: nmap, Ghostcat (CVE-2020-1938), priv-esc to root, findings auto-logged. Ethical hacking practice, done smarter. 🧠 #oscp #ethicalhacking https://t.co/PuP2nAiiWu
@TeamPentest· Jul 3, 2026
Port 8080 open? Cool. Apache Tomcat 9.0.31? Now check CVE-2020-1938. Active recon isn't just finding open ports -- it's version detection that maps to real CVEs. nmap -sV --version-intensity 5 target #Pentesting #Infosec #Cybersecurity #Security #SysAdmin #Linux #DevSecOps
@think_kun· Apr 29, 2026
Then came manual validation. No blind trust in automated severity ratings. Every critical finding had to be proven. On Metasploitable 2, I exploited Ghostcat (CVE-2020-1938) on Port 8009 using Metasploit. https://t.co/9K5auyK4rt
@MDPorsch· Feb 20, 2026
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Prioritize edge telemetry for network-reachable Apache Tomcat, Org.apache.tomcat.embed:tomcat-embed-core.
- Review endpoint telemetry for service binary replacement, suspicious service launches, or privilege changes tied to the affected agent.
- Monitor for scanner or exploit-pattern traffic after 637 public PoC repositories were reported.
Groups associated with this CVE
Groups reported in connection with this vulnerability. A reported association, not a confirmed observation of that group using it — and not scoped to any sector or campaign.
- ip8.221.139.22245
socks-proxy-Firehol · Jul 4, 2024
- ip8.220.205.17215
socks-proxy-Firehol · Jul 9, 2024
- ip47.90.167.2714
socks-proxy-Firehol · Jul 4, 2024
- ip47.90.149.2386
socks-proxy-Firehol · Jul 14, 2024
- ip8.211.49.8611
socks-proxy-Firehol · Jul 5, 2024
5 more indicators on this CVEShowing 5 of 10 · Hashes, addresses and domains from a live threat exchangeUnlock freeTimeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Cve is exploited lem0n817/tomcatfileread
Oct 16, 2026 · SOCRadar CTI
Added · CVSS 3.1 9.8 (AV:N)
Aug 25, 2026 · NVD
Cve is exploited cyberguardsec101-sketch/ghostcat
May 12, 2026 · SOCRadar CTI
Cve is exploited si1ence90/Ghostcat-Tomcat-AJP-Exploit-Py3
May 12, 2026 · SOCRadar CTI
Cve is exploited abrewer251/CVE-2020-1938_Ghostcat-PoC
Apr 8, 2026 · SOCRadar CTI
- 2025
Bulletin released on NIST.
Oct 16, 2025 · SOCRadar CTI
Bulletin released on NIST.
Oct 16, 2025 · SOCRadar CTI
Bulletin released on Mitre.
Jul 28, 2025 · SOCRadar CTI
- 2022
Added to CISA KEV catalog
Mar 3, 2022 · CISA
- 2020
Added · Verified webapps entry: Apache Tomcat - AJP 'Ghostcat' File Read/Inclusion (Metasploit)
Nov 13, 2020 · Exploit-DB
Added · GHSA-c9hw-wf7x-jp9j published (critical)
Jun 15, 2020 · GitHub Security Advisory
Initial · CVE published
Feb 24, 2020 · NVD
Added · webapps entry: Apache Tomcat - AJP 'Ghostcat File Read/Inclusion
Feb 20, 2020 · Exploit-DB
Source activity
Readings a source repeats on a schedule, counted rather than listed.
- 12×Github ReposFeb 24, 2025 – Oct 8, 2026 · SOCRadar CTI
- 6×Tweets · 1 time tweeted.Jun 17, 2025 – Oct 12, 2026 · SOCRadar CTI
- 3×SVRS was changedApr 8, 2026 – May 2, 2026 · SOCRadar CTI
- 1×1 time mentioned on 1 Telegram channelMay 25, 2026 · SOCRadar CTI
References
103 on the record
- lists.opensuse.org/opensuse-security-announce/2020-03/msg00025.html
Third Party Advisory, NIST
- lists.opensuse.org/opensuse-security-announce/2020-05/msg00002.html
Mailing List, Third Party Advisory, NIST
- support.blackberry.com/kb/articleDetail?articleNumber=000062739
Third Party Advisory, NIST
- lists.apache.org/thread.html/r089dc67c0358a1556dd279c762c74f32d7a254a54836b7ee2d839d8e%40%3Cdev.tomee.apache.org%3E
Mailing List, NIST
- lists.apache.org/thread.html/r1125f3044a0946d1e7e6f125a6170b58d413ebd4a95157e4608041c7%40%3Cannounce.apache.org%3E
Mailing List, NIST
- lists.apache.org/thread.html/r17aaa3a05b5b7fe9075613dd0c681efa60a4f8c8fbad152c61371b6e%40%3Cusers.tomcat.apache.org%3E
Mailing List, NIST
- lists.apache.org/thread.html/r38a5b7943b9a62ecb853acc22ef08ff586a7b3c66e08f949f0396ab1%40%3Cusers.tomcat.apache.org%3E
Mailing List, NIST
- lists.apache.org/thread.html/r43faacf64570b1d9a4bada407a5af3b2738b0c007b905f1b6b608c65%40%3Cusers.tomcat.apache.org%3E
Mailing List, NIST
Coverage
7 stories from the feeds we poll
September 2026 CVE Landscape - Recorded Future
recordedfuture.com · Oct 13, 2026
Weekly ALL-SOURCE Cyber Warfare Intelligence Brief September 8, 2026
krypt3ia.wordpress.com · Sep 8, 2026
CVE-2020-1938
vuldb.com · Aug 26, 2026
CVE-2020-1938
vuldb.com · Aug 26, 2026
CVE-2020-1938
vuldb.com · Aug 26, 2026
2 more reports on this CVEShowing 5 of 7 · Vendor research and security press coverageUnlock freeRelated CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-24813 Apache Tomcat: Potential RCE and/or information disclosure and/or information corruption with partial PUTCVSS 9.8 · CISA KEV
- CVE-2017-12617 Apache Tomcat Remote Code Execution VulnerabilityCVSS 8.1 · CISA KEV
- CVE-2017-12615 Apache Tomcat on Windows Remote Code Execution VulnerabilityCVSS 8.1 · CISA KEV
- CVE-2026-34486 Apache Tomcat: Fix for CVE-2026-29146 allowed bypass of EncryptInterceptorCVSS 7.5 · CISA KEV
- CVE-2023-44487 HTTP/2 Rapid Reset Attack VulnerabilityCVSS 7.5 · CISA KEV
- 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…CVSS 8.1
Elsewhere on this site
- Apacheevery CVE for this vendor
- Mavenevery CVE for this vendor
- Apache Tomcatevery page on this product
- March 2022what else CISA listed
- Privilege Escsame class
- CWE-269other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- Only the 5 indicator(s) reported for this CVE are available; no packet-level or host-forensic artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2020-1938 is Apache Tomcat Improper Privilege Management Vulnerability, a critical vulnerability affecting Apache Tomcat, Org.apache.tomcat.embed:tomcat-embed-core from Apache, Maven. The current evidence lists it in CISA KEV, and the exploit status is: Yes: CISA KEV signal present. Public exploit evidence is: 637 public PoC repositories reported; 1 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 9.8 describes technical severity, while EPSS 99% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.