What’s Vulnerable › Vulnerabilities
CVE-2022-25297: Arbitrary File Write
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-02-21 · updated 2026-06-17
- Weakness: CWE-552
Description
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.
Affected products
- drogonframework/drogon: before 1.7.5 — fixed in 1.7.5
How to fix
Upgrade to a fixed version: drogonframework/drogon 1.7.5. Check the vendor advisory for mitigations.
References
- https://github.com/drogonframework/drogon/commit/3c785326c63a34aa1799a639ae185bc9453cb447
- https://github.com/drogonframework/drogon/pull/1174
- https://snyk.io/vuln/SNYK-UNMANAGED-DROGONFRAMEWORKDROGON-2407243
- https://github.com/drogonframework/drogon/commit/3c785326c63a34aa1799a639ae185bc9453cb447
- https://github.com/drogonframework/drogon/pull/1174
- https://snyk.io/vuln/SNYK-UNMANAGED-DROGONFRAMEWORKDROGON-2407243
Get alerted when CVE-2022-25297 or the next vulnerability affects your stack