Home / Apache / Apache Tomcat / CVE-2020-1938
CVE-2020-1938: is it exploited, and which versions of Apache Tomcat are affected and fixed?
CVE-2020-1938 is a privilege escalation (improper privilege management) vulnerability in Apache Tomcat, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on March 3, 2022, with a federal due date of March 17, 2022. Affected: org.apache.tomcat.embed:tomcat-embed-core from 9.0.0 before 9.0.31, org.apache.tomcat.embed:tomcat-embed-core from 8.0.0 before 8.5.51 and org.apache.tomcat.embed:tomcat-embed-core from 7.0.0 before 7.0.100 (GitHub advisory GHSA-c9hw-wf7x-jp9j). Fixed in 9.0.31, 8.5.51 and 7.0.100 (GitHub advisory GHSA-c9hw-wf7x-jp9j). Severity: Critical (9.8, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:08 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:15 UTC.
What is CVE-2020-1938?
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.
From the CVE record by apache, last updated October 21, 2025, 23:35 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache | Apache Tomcat | Apache Tomcat 9.0.0.M1 to 9.0.0.30 8.5.0 to 8.5.50 7.0.0 to 7.0.99 |
As the CVE record by apache states it, last updated October 21, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 9.0.0, < 9.0.31 | 9.0.31 | GHSA-c9hw-wf7x-jp9j |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 8.0.0, < 8.5.51 | 8.5.51 | GHSA-c9hw-wf7x-jp9j |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 7.0.0, < 7.0.100 | 7.0.100 | GHSA-c9hw-wf7x-jp9j |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 22, 2025. Summary: Improper Privilege Management in Tomcat.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | geode | 1.12.0 | application |
| apache | tomcat | from 7.0.0 before 7.0.100 | application |
| apache | tomcat | from 8.5.0 before 8.5.51 | application |
| apache | tomcat | from 9.0.0 before 9.0.31 | application |
| fedoraproject | fedora | 30 | operating system |
| fedoraproject | fedora | 31 | operating system |
| fedoraproject | fedora | 32 | operating system |
| oracle | agile engineering data management | 6.2.1.0 | application |
| oracle | agile product lifecycle management | 9.3.3 | application |
| oracle | agile product lifecycle management | 9.3.5 | application |
| oracle | agile product lifecycle management | 9.3.6 | application |
| oracle | communications element manager | 8.1.1 | application |
| oracle | communications element manager | 8.2.0 | application |
| oracle | communications element manager | 8.2.1 | application |
| oracle | communications instant messaging server | 10.0.1.4.0 | application |
| oracle | health sciences empirica inspections | 1.0.1.2 | application |
| oracle | health sciences empirica signal | 7.3.3 | application |
| oracle | hospitality guest access | 4.2.0 | application |
| oracle | hospitality guest access | 4.2.1 | application |
| oracle | instantis enterprisetrack | from 17.1 through 17.3 | application |
| oracle | mysql enterprise monitor | through 4.0.12 | application |
| oracle | mysql enterprise monitor | from 8.0.0 through 8.0.20 | application |
| oracle | siebel ui framework | through 20.5 | application |
| oracle | transportation management | 6.3.7 | application |
| oracle | workload manager | 12.2.0.1 | application |
NVD analysis (status Analyzed), last modified August 25, 2026, 16:28 UTC.
How severe is CVE-2020-1938?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2020-1938 exploited in the wild?
- CISA KEV
- Listed as Apache Tomcat Improper Privilege Management Vulnerability, added March 3, 2022; federal agencies must act by March 17, 2022
- Required action
- Apply updates per vendor instructions.
- Ransomware use
- Unknown
- CISA's summary
- Apache Tomcat treats Apache JServ Protocol (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.
- CISA SSVC
- Exploitation: active; automatable: yes; technical impact: total (CISA ADP, February 6, 2025)
- EPSS
- 99.3% probability of exploitation activity in the next 30 days, percentile 99.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-269 Improper Privilege Management
Where are the vendor advisories and references?
- [tomcat-announce] 20200224 [SECURITY] CVE-2020-1938 AJP Request Injection and potential Remote Code Execution mailing-list, x_refsource_MLIST
- [ofbiz-notifications] 20200225 [jira] [Commented] (OFBIZ-11407) Upgrade Tomcat from 9.0.29 to 9.0.31 (CVE-2020-1938) mailing-list, x_refsource_MLIST
- [ofbiz-notifications] 20200225 [jira] [Updated] (OFBIZ-11407) Upgrade Tomcat from 9.0.29 to 9.0.31 (CVE-2020-1938) mailing-list, x_refsource_MLIST
- [ofbiz-commits] 20200227 [ofbiz-plugins] branch release17.12 updated: Upgrade Tomcat from 9.0.29 to 9.0.31 (CVE-2020-1938) (OFBIZ-11407) mailing-list, x_refsource_MLIST
- [ofbiz-notifications] 20200227 [jira] [Commented] (OFBIZ-11407) Upgrade Tomcat from 9.0.29 to 9.0.31 (CVE-2020-1938) mailing-list, x_refsource_MLIST
- [ofbiz-notifications] 20200228 [jira] [Commented] (OFBIZ-11407) Upgrade Tomcat from 9.0.29 to 9.0.31 (CVE-2020-1938) mailing-list, x_refsource_MLIST
- [ofbiz-notifications] 20200228 [jira] [Comment Edited] (OFBIZ-11407) Upgrade Tomcat from 9.0.29 to 9.0.31 (CVE-2020-1938) mailing-list, x_refsource_MLIST
- [tomcat-users] 20200301 Re: [SECURITY] CVE-2020-1938 AJP Request Injection and potential Remote Code Execution mailing-list, x_refsource_MLIST
- [tomcat-users] 20200302 Re: AW: [SECURITY] CVE-2020-1938 AJP Request Injection and potentialRemote Code Execution mailing-list, x_refsource_MLIST
- [tomcat-users] 20200302 AW: [SECURITY] CVE-2020-1938 AJP Request Injection and potentialRemote Code Execution mailing-list, x_refsource_MLIST
- [tomcat-users] 20200302 Re: [SECURITY] CVE-2020-1938 AJP Request Injection and potential Remote Code Execution mailing-list, x_refsource_MLIST
- [tomcat-users] 20200304 Re: Fix for CVE-2020-1938 mailing-list, x_refsource_MLIST
- [tomcat-dev] 20200304 Re: Tagging 10.0.x, 9.0.x, 8.5.x mailing-list, x_refsource_MLIST
- [debian-lts-announce] 20200304 [SECURITY] [DLA 2133-1] tomcat7 security update mailing-list, x_refsource_MLIST
- [tomcat-users] 20200305 Aw: Re: Fix for CVE-2020-1938 mailing-list, x_refsource_MLIST
- [tomcat-users] 20200305 Re: Aw: Re: Fix for CVE-2020-1938 mailing-list, x_refsource_MLIST
- [tomcat-dev] 20200309 [Bug 64206] Answer file not being used mailing-list, x_refsource_MLIST
- [tomcat-users] 20200309 Re: Apache Tomcat AJP File Inclusion Vulnerability (unauthenticated check) mailing-list, x_refsource_MLIST
- [tomcat-users] 20200310 Aw: Re: Re: Fix for CVE-2020-1938 mailing-list, x_refsource_MLIST
- [tomcat-users] 20200310 Re: Re: Re: Fix for CVE-2020-1938 mailing-list, x_refsource_MLIST
- [tomee-dev] 20200311 CVE-2020-1938 on Tomcat 9.0.30 / TomEE 8.0.1 mailing-list, x_refsource_MLIST
- [tomee-dev] 20200311 Re: CVE-2020-1938 on Tomcat 9.0.30 / TomEE 8.0.1 mailing-list, x_refsource_MLIST
- openSUSE-SU-2020:0345 vendor-advisory, x_refsource_SUSE
- [tomee-dev] 20200316 RE: CVE-2020-8840 on TomEE 8.0.1 mailing-list, x_refsource_MLIST
- [httpd-bugs] 20200319 [Bug 53098] mod_proxy_ajp: patch to set worker secret passed to tomcat mailing-list, x_refsource_MLIST
- GLSA-202003-43 vendor-advisory, x_refsource_GENTOO
- [tomee-commits] 20200320 [jira] [Updated] (TOMEE-2789) TomEE plus(7.0.7) is affected by CVE-2020-1938(BDSA-2020-0339) vulnerability. mailing-list, x_refsource_MLIST
- [tomee-commits] 20200320 [jira] [Created] (TOMEE-2789) TomEE plus is affected by CVE-2020-1938(BDSA-2020-0339) vulnerability. mailing-list, x_refsource_MLIST
- [tomee-commits] 20200323 [jira] [Commented] (TOMEE-2789) TomEE plus(7.0.7) is affected by CVE-2020-1938(BDSA-2020-0339) vulnerability. mailing-list, x_refsource_MLIST
- FEDORA-2020-0e42878ba7 vendor-advisory, x_refsource_FEDORA
- FEDORA-2020-c870aa8378 vendor-advisory, x_refsource_FEDORA
- FEDORA-2020-04ac174fa9 vendor-advisory, x_refsource_FEDORA
- [tomcat-users] 20200413 RE: Alternatives for AJP mailing-list, x_refsource_MLIST
- openSUSE-SU-2020:0597 vendor-advisory, x_refsource_SUSE
- DSA-4673 vendor-advisory, x_refsource_DEBIAN
- DSA-4680 vendor-advisory, x_refsource_DEBIAN
- [debian-lts-announce] 20200528 [SECURITY] [DLA 2209-1] tomcat8 security update mailing-list, x_refsource_MLIST
- [tomcat-dev] 20200625 svn commit: r1879208 - in /tomcat/site/trunk: docs/security-10.html docs/security-8.html docs/security-9.html xdocs/security-10.xml xdocs/ mailing-list, x_refsource_MLIST
- [ofbiz-notifications] 20200628 [jira] [Updated] (OFBIZ-11847) CLONE - Upgrade Tomcat from 9.0.34 to 9.0.36 (CVE-2020-11996) mailing-list, x_refsource_MLIST
- [ofbiz-notifications] 20200628 [jira] [Created] (OFBIZ-11847) CLONE - Upgrade Tomcat from 9.0.34 to 9.0.36 (CVE-2020-11996) mailing-list, x_refsource_MLIST
- https://www.oracle.com/security-alerts/cpujul2020.html x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20200226-0002/ x_refsource_CONFIRM
- http://support.blackberry.com/kb/articleDetail?articleNumber=000062739 x_refsource_CONFIRM
- [tomee-users] 20200723 Re: TomEE on Docker mailing-list, x_refsource_MLIST
- [geode-issues] 20200831 [jira] [Created] (GEODE-8471) Dependency security issues in geode-core-1.12 mailing-list, x_refsource_MLIST
- https://www.oracle.com/security-alerts/cpuoct2020.html x_refsource_MISC
- [tomee-commits] 20201127 [jira] [Resolved] (TOMEE-2789) TomEE plus(7.0.7) is affected by CVE-2020-1938(BDSA-2020-0339) vulnerability. mailing-list, x_refsource_MLIST
- [tomee-commits] 20201127 [jira] [Updated] (TOMEE-2789) TomEE plus(7.0.7) is affected by CVE-2020-1938(BDSA-2020-0339) vulnerability. mailing-list, x_refsource_MLIST
- https://www.oracle.com/security-alerts/cpujan2021.html x_refsource_MISC
- [announce] 20210125 Apache Software Foundation Security Report: 2020 mailing-list, x_refsource_MLIST
- [announce] 20210223 Re: Apache Software Foundation Security Report: 2020 mailing-list, x_refsource_MLIST
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-1938 government-resource
When was it published, and where is the official record?
- Reserved
- December 2, 2019
- Published
- February 24, 2020, 21:19 UTC
- CVE record updated
- October 21, 2025, 23:35 UTC by apache
- NVD
- Analyzed, last modified August 25, 2026, 16:28 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:15 UTC; KEV December 3, 2026, 13:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD · CISA KEV
What other CVEs affect Apache Tomcat?
- Jun 26, 2020CVE-2020-11996 Apache Tomcat: denial of service (uncontrolled resource consumption)
- Feb 24, 2020CVE-2020-1935 Apache Tomcat: HTTP request smuggling
- Feb 24, 2020CVE-2019-17569 Apache Tomcat: HTTP request smuggling
- May 28, 2019CVE-2019-0221 Apache Tomcat: cross-site scripting (XSS)
Questions about CVE-2020-1938
Is CVE-2020-1938 exploited in the wild?
Yes. CISA added CVE-2020-1938 to its Known Exploited Vulnerabilities catalog on March 3, 2022 and set federal agencies a due date of March 17, 2022. FIRST's EPSS gives it a 99.3% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Tomcat are affected by CVE-2020-1938?
org.apache.tomcat.embed:tomcat-embed-core from 9.0.0 before 9.0.31, org.apache.tomcat.embed:tomcat-embed-core from 8.0.0 before 8.5.51 and org.apache.tomcat.embed:tomcat-embed-core from 7.0.0 before 7.0.100, per the GitHub advisory GHSA-c9hw-wf7x-jp9j. The tables above give every range the sources list.
Which version fixes CVE-2020-1938?
9.0.31, 8.5.51 and 7.0.100, per the GitHub advisory GHSA-c9hw-wf7x-jp9j. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-1938?
Critical (9.8, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2020-1938?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.