← Vulnerability feed

Vulnerability record · CVE-2020-27304 · published 21 October 2021

CVE-2020-27304: Civetweb project civetweb relative path traversal vulnerability

CCivetweb Project · Civetweb

The CivetWeb web library does not validate uploaded filepaths when running on an OS other than Windows, when using the built-in HTTP form-based file upload mechanism, via the mg_handle_form_request API. Web applications that use the file upload form handler, and use parts of the user-controlled filename in the output path, are susceptible to directory traversal

9.8 CVSS 3.1 Critical EPSS 3.2% · top 12.2% CWE-23 · Relative path traversalCWE-22 · Path traversal
9.8CVSS 3.1 base score, v2 7.5
3.2%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
8References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

The CivetWeb web library does not validate uploaded filepaths when running on an OS other than Windows, when using the built-in HTTP form-based file upload mechanism, via the mg_handle_form_request API. Web applications that use the file upload form handler, and use parts of the user-controlled filename in the output path, are susceptible to directory traversal

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2020-27304 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2021-22930Nodejs node.js use after free vulnerabilityNode.js before 16.6.0, 14.17.4, and 12.22.4 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption…EPSS 36%9.8CVE-2021-22931Nodejs node.js improper input validation vulnerabilityNode.js before 16.6.0, 14.17.4, and 12.22.4 is vulnerable to Remote Code Execution, XSS, Application crashes due to missing input validation of host …EPSS 22%9.8CVE-2021-25216BIND GSS-TSIG SPNEGO Memory Corruption Enables Crash and Possible RCEBIND servers configured with GSS-TSIG (via tkey-gssapi-keytab or tkey-gssapi-credential) use an ISC SPNEGO implementation that mishandles input, caus…EPSS 82%analysed9.8CVE-2020-7774y18n prototype pollution via crafted inputThe y18n package before 3.2.2, 4.0.1 and 5.0.5 is vulnerable to prototype pollution. Because y18n is a widely used dependency for CLI localization, t…EPSS 69%analysed9.8CVE-2020-11656Sqlite use after free vulnerabilityIn SQLite through 3.31.1, the ALTER TABLE implementation has a use-after-free, as demonstrated by an ORDER BY clause that belongs to a compound SELEC…EPSS 7.6%9.8CVE-2019-19646Sqlite vulnerabilitypragma.c in SQLite through 3.30.1 mishandles NOT NULL in an integrity_check PRAGMA command in certain cases of generated columns.EPSS 5.4%9.8CVE-2019-19317Sqlite vulnerabilitylookupName in resolve.c in SQLite 3.30.1 omits bits from the colUsed bitmask in the case of a generated column, which allows attackers to cause a den…EPSS 4.3%9.1CVE-2021-20093Wibu codemeter out-of-bounds read vulnerabilityA buffer over-read vulnerability exists in Wibu-Systems CodeMeter versions < 7.21a. An unauthenticated remote attacker can exploit this issue to disc…EPSS 33%

Source: NIST National Vulnerability Database (record CVE-2020-27304), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.