Skip to content
OpenAdvisories
Medium · 5.9 CVE-2026-49244 EUVD-2026-63713GHSA-h64p-8h4r-6gfhGO-2026-5902

SFTPGo: Path confinement bypass in public browsable share partial ZIP download

Published Aug 20, 2026 · Updated Aug 21, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
drakkan sftpgo >= 2.2.0 < 2.7.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/drakkan/sftpgo all versions — GO-2026-5902
Go github.com/drakkan/sftpgo/v2 >= 2.2.0, < 2.7.3 2.7.3 GHSA-h64p-8h4r-6gfh

Advisories 1

References