Description
SFTPGo is an open source, event-driven file transfer solution. From 2.2.0 until 2.7.3, the public web-client partial ZIP download endpoint for a browsable share validates client-supplied files entries with a raw byte-prefix comparison rather than a directory-boundary-aware check. An unauthenticated requester who can reach a public share can select a canonical path outside the shared directory when the target path begins with the shared directory's name, such as a sibling path that shares the same prefix. The endpoint then includes the out-of-scope file in the generated download, disclosing its contents. This issue is fixed in version 2.7.3.
Severity (CVSS)
| Base score | 5.9 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| Provided by | CNA |
Weaknesses
- CWE-22 — CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| drakkan | sftpgo | >= 2.2.0 < 2.7.2 |
References
- https://github.com/drakkan/sftpgo/security/advisories/GHSA-h64p-8h4r-6gfh (x_refsource_CONFIRM)
- https://github.com/drakkan/sftpgo/commit/52a56584c417e325aea35ab23849422a90ba512f (x_refsource_MISC)
- https://github.com/drakkan/sftpgo/releases/tag/v2.7.3 (x_refsource_MISC)
Generated from the official CVE List on 21 Aug 2026 07:00 UTC.