Live threats

All CVEs / Civetweb Project

CVE-2020-27304Civetweb Project Civetweb

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
3.3%
probability of exploitation in 30 days · percentile 89
Auth required
No
Published
Oct 21, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-23, CWE-22
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Civetweb.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
civetweb_projectcivetweb≥ 1.8 < 1.15
siemenssinec_infrastructure_network_services< 1.0.1.1

Official sources

References

Links published by the sources. Open them with care.