# CVE-2021-35397

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2021-08-04 · Modified: 2024-08-04
- Record: https://cvemate.com/vulnerability/CVE-2021-35397 · JSON: https://cvemate.com/vulnerability/CVE-2021-35397/json

## Description

```text
A path traversal vulnerability in the static router for Drogon from 1.0.0-beta14 to 1.6.0 could allow an unauthenticated, remote attacker to arbitrarily read files. The vulnerability is due to lack of proper input validation for requested path. An attacker could exploit this vulnerability by sending crafted HTTP request with specific path to read. Successful exploitation could allow the attacker to read files that should be restricted.
```

## Signals

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

## Affected

- drogon drogon: ≥ 1.1.0, ≤ 1.6.0 \| 1.0.0 \| 1.0.0:beta14 \| 1.0.0:beta15 \| 1.0.0:beta16 \| 1.0.0:beta17 \| 1.0.0:beta18 \| 1.0.0:beta19 \| 1.0.0:beta20 \| 1.0.0:beta21

## References

- <https://github.com/an-tao/drogon>
- <https://github.com/an-tao/drogon/blob/834e3eabdd0441ad2bc80c02e8bbfc3b8312c213/lib/src/StaticFileRouter.cc#L62-L67>
- <https://github.com/an-tao/drogon/wiki/ENG-02-Installation>
- <https://github.com/an-tao/drogon/wiki/ENG-03-Quick-Start#Static-Site>

---

Data as of 2026-12-05T11:37:05.051Z. 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
