Path traversal in civetweb_project civetweb
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
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| civetweb_project | civetweb | 1.8 and later | 1.15 | Patch available | CNA |
- civetweb Vendorcivetweb_project Affected 1.8 and later Fixed in 1.15 Patch available CNA
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:civetweb_project:civetweb:*:*:*:*:*:*:*:* | 1.8 to before 1.15 | Vulnerable | civetweb_project |
| cpe:2.3:a:siemens:sinec_infrastructure_network_services:*:*:*:*:*:*:*:* | before 1.0.1.1 | Vulnerable | Siemens |
- 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 ModerateACS 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 →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Ceph Storage 2 | Affected | No fix planned: Will not fix |
| Red Hat Ceph Storage 3 | Affected | No fix planned: Will not fix |
| RHACS 3.67 for RHEL 8 | Fixed | RHSA-2021:4902 |
Not affected: 1 product
- RHACS 3.67 for RHEL 8
Timeline
- 2026-10-02 Threatist record created from CVE-2020-27304
- 2026-10-03 Alias added: GHSA-wphm-mh7c-38cf
References
More civetweb_project Civetweb vulnerabilities
- 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
- CVE-2020-27304 · CVE Program
- CVE-2020-27304 · NVD
- FIRST EPSS
- GHSA-wphm-mh7c-38cf · GitHub Advisory Database · CC BY 4.0
- CVE-2020-27304 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences