CVE-2026-49244
MEDIUM 5.9CVSS 3.1SFTPGo has path confinement bypass in public browsable share partial ZIP download
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.
- Published
- 20 Aug 2026
- Last modified
- 18 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-22
- Also known as
- GHSA-h64p-8h4r-6gfhGO-2026-5902
- Sources
- NVDJSONOSV GHSA-h64p-8h4r-6gfhJSONOSV GO-2026-5902JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/drakkan/sftpgo/v2 | >= 2.2.0, < 2.7.3 | 2.7.3 |
| OSV | Go | github.com/drakkan/sftpgo | all versions |
References
- https://github.com/drakkan/sftpgo/commit/52a56584c417e325aea35ab23849422a90ba512f
- https://github.com/drakkan/sftpgo/releases/tag/v2.7.3
- https://github.com/drakkan/sftpgo/security/advisories/GHSA-h64p-8h4r-6gfh · WEB, ADVISORY
- https://github.com/drakkan/sftpgo · PACKAGE
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 20 Aug 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 2 Jul 2026)