Read the docs
TI-2020-16622 Aliases CVE-2020-27304GHSA-wphm-mh7c-38cf

Path traversal in civetweb_project civetweb

Priority MEDIUM 48CWE-23Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 1 fixed, 2 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat.

Summary

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

Why it matters now

EPSS 0.03268 88th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial civetweb (civetweb_project): 1.15Red Hat: 1 advisoryRed Hat: 1 fixed, 2 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
civetweb_projectcivetweb1.8 and later1.15Patch availableCNA
  • civetweb Vendorcivetweb_project Affected 1.8 and later Fixed in 1.15 Patch available CNA

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:civetweb_project:civetweb:*:*:*:*:*:*:*:*1.8 to before 1.15Vulnerablecivetweb_project
cpe:2.3:a:siemens:sinec_infrastructure_network_services:*:*:*:*:*:*:*:*before 1.0.1.1VulnerableSiemens
  • cpe:2.3:a:civetweb_project:civetweb:*:*:*:*:*:*:*:* Versions 1.8 to before 1.15 Vulnerable ·civetweb_project
  • cpe:2.3:a:siemens:sinec_infrastructure_network_services:*:*:*:*:*:*:*:* Versions before 1.0.1.1 Vulnerable ·Siemens

Remediation

  • Fix · CNA civetweb (civetweb_project) Fixed in 1.15

Red Hat 1 advisory

  • RHSA-2021:4902 Released 2021-12-01 · Red Hat rating Moderate
    ACS 3.67 security and enhancement update
    • RHACS 3.67 for RHEL 8 advanced-cluster-security/rhacs-rhel8-operator

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Ceph Storage 2AffectedNo fix planned: Will not fix
Red Hat Ceph Storage 3AffectedNo fix planned: Will not fix
RHACS 3.67 for RHEL 8Fixed RHSA-2021:4902
Not affected: 1 product
  • RHACS 3.67 for RHEL 8

Timeline

  1. 2026-10-02 Threatist record created from CVE-2020-27304
  2. 2026-10-03 Alias added: GHSA-wphm-mh7c-38cf

References

  • TI-2025-35177 Buffer Overflow in the URI parser of CivetWeb 1.14 through 1.16 (latest) allows a remote… CVSS 3.1HIGH 7.5
  • TI-2026-05070 Search path without quotes in CivetWeb CVSS 4.0HIGH 8.5
  • TI-2018-09103 Out-of-bounds Read in the send_ssi_file function in civetweb.c in CivetWeb through 1.10… CVSS 3.0HIGH 7.1

Sources