# CVE-2020-27304

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2021-10-21 · Modified: 2024-08-04
- Aliases: UBUNTU-CVE-2020-27304, DEBIAN-CVE-2020-27304, openSUSE-SU-2021:1424-1
- Record: https://cvemate.com/vulnerability/CVE-2020-27304 · JSON: https://cvemate.com/vulnerability/CVE-2020-27304/json

## Description

```text
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
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 3.268%, percentile 88.793%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- civetweb\_project civetweb: ≥ 1.8, \< unspecified \| ≥ 1.8, \< 1.15
- debian civetweb (Debian): \< 1.15+dfsg-1
- ubuntu civetweb (Ubuntu): All versions (No fix recorded)
- opensuse civetweb&distro=openSUSE Leap 15.2 (openSUSE): \< 1.15-lp152.2.3.1
- siemens sinec\_infrastructure\_network\_services: \< 1.0.1.1

## References

- <https://jfrog.com/blog/cve-2020-27304-rce-via-directory-traversal-in-civetweb-http-server/>
- <https://groups.google.com/g/civetweb/c/yPBxNXdGgJQ>
- <https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf>
- <https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf>
- <https://ubuntu.com/security/CVE-2020-27304>
- <https://www.cve.org/CVERecord?id=CVE-2020-27304>
- <https://security-tracker.debian.org/tracker/CVE-2020-27304>
- <https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/YJTZUANR73SYTZDQ6GMWGRR5O4MCEJA4/>
- <https://bugzilla.suse.com/1191938>
- <https://www.suse.com/security/cve/CVE-2020-27304>
- <https://nvd.nist.gov/vuln/detail/CVE-2020-27304>

---

Data as of 2026-12-05T12:30:47.684Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
