# Ghostcat

> Flaw in Apache Tomcat's AJP connector allowing file disclosure and, in some setups, code execution.

## At a glance

Ghostcat is a vulnerability in the area of Software, disclosed on 20 February 2020 and tracked as CVE-2020-1938. It was discovered by Chaitin Tech. The rights to the logo lie with Chaitin Tech; the designer is not stated. No licence is stated for the logo; all rights remain with the rights holder. If you want to use it yourself, ask for permission first.

## Background

Through Tomcat's AJP connector, enabled by default, an attacker can read or include any file in the web application directories, such as configuration files and source code. If the application offers a file upload, this becomes code execution. According to Chaitin Tech the flaw had been in the default configuration for more than a decade.

## Facts

- Disclosed: 20 February 2020
- CVE: [CVE-2020-1938](https://nvd.nist.gov/vuln/detail/CVE-2020-1938)
- Area: [Software](https://vulnallery.de/en/category/software/)
- Discovered by: Chaitin Tech
- Affected: Apache Tomcat 6, 7 before 7.0.100, 8 before 8.5.51 and 9 before 9.0.31
- Severity: CVSS 3.1 9.8 (critical), CVE-2020-1938, NVD
- Official website: https://www.chaitin.cn/en/ghostcat
- Logo: https://vulnallery.de/assets/img/ghostcat.webp
- Rights holder: Chaitin Tech
- Logo licence: No licence stated – all rights remain with the rights holder
- Source of the image rights: https://www.chaitin.cn/en/ghostcat
- Sources: https://www.chaitin.cn/en/ghostcat, https://nvd.nist.gov/vuln/detail/CVE-2020-1938

## Questions and answers about Ghostcat

### What is Ghostcat?

Flaw in Apache Tomcat's AJP connector allowing file disclosure and, in some setups, code execution. Through Tomcat's AJP connector, enabled by default, an attacker can read or include any file in the web application directories, such as configuration files and source code. If the application offers a file upload, this becomes code execution. According to Chaitin Tech the flaw had been in the default configuration for more than a decade. Ghostcat was disclosed on 20 February 2020.

### Who discovered Ghostcat?

Ghostcat was discovered by Chaitin Tech.

### What is affected by Ghostcat?

Affected: Apache Tomcat 6, 7 before 7.0.100, 8 before 8.5.51 and 9 before 9.0.31.

### How severe is Ghostcat?

NVD rates CVE-2020-1938 with a CVSS 3.1 base score of 9.8 out of 10 (critical).

### Who designed the Ghostcat logo?

The rights to the logo lie with Chaitin Tech; the designer is not stated.

### May I use the Ghostcat logo?

No licence is stated for the logo; all rights remain with the rights holder. If you want to use it yourself, ask for permission first. No guarantee; the source chaitin.cn is authoritative.

### Which CVE identifier does Ghostcat have?

Ghostcat is tracked as CVE-2020-1938.

---

Source: Vulnallery – https://vulnallery.de/en/ghostcat/ (as of 2026-11-20). This page in German: https://vulnallery.de/de/ghostcat/
