home / blog
2026-11-27 · critical
CVE-2020-1938: Critical vulnerability in Apache Tomcat AJP
CVE-2020-1938: Critical Apache Tomcat vulnerability enables file access and code execution.

CVE-2020-1938 concerns a vulnerability in Apache Tomcat's AJP protocol that allows untrusted users to access any file in the web application and process them as JSP, potentially leading to remote code execution.
The vulnerability is classified as critical (CVSS 9.8) and affects Apache Tomcat versions 9.0.0.M1-9.0.0.30, 8.5.0-8.5.50, and 7.0.0-7.0.99. Signals confirm the existence of public exploits on GitHub repositories, though specific details are not verified.
To protect against this vulnerability, disable the AJP connector if not strictly necessary or upgrade to the corrected versions (9.0.31, 8.5.51 or 7.0.100 or later). A defense-in-depth approach is also recommended, blocking the AJP port from untrusted sources.
At a glance
- What
- Vulnerability in AJP protocol allowing access to any file and execution as JSP
- Severity
- Critical (CVSS 9.8)
- Affected versions
- 9.0.0.M1-9.0.0.30, 8.5.0-8.5.50, 7.0.0-7.0.99
- Fix
- Upgrade to versions 9.0.31, 8.5.51 or 7.0.100 or later
- Status
- Fix available
- Action
- Disable AJP connector if not needed or upgrade
Sources: NVD, CVE-2020-1938