# CVE-2022-25297: Arbitrary File Write

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 1.7.5 (CNA); fix release not confirmed
- Status: published
- Published: 2022-02-21 · Modified: 2024-09-16
- Record: https://cvemate.com/vulnerability/CVE-2022-25297 · JSON: https://cvemate.com/vulnerability/CVE-2022-25297/json

## Description

```text
This affects the package drogonframework/drogon before 1.7.5. The unsafe handling of file names during upload using HttpFile::save() method may enable attackers to write files to arbitrary locations outside the designated target folder.
```

## Signals

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

## Affected

- drogon drogon: \< 1.7.5

## References

- <https://snyk.io/vuln/SNYK-UNMANAGED-DROGONFRAMEWORKDROGON-2407243>
- <https://github.com/drogonframework/drogon/commit/3c785326c63a34aa1799a639ae185bc9453cb447>
- <https://github.com/drogonframework/drogon/pull/1174>

---

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