CVE-2026-49244 SFTPGo: Path confinement bypass in public browsable share partial ZIP download
An unauthenticated attacker can bypass path confinement in public browsable shares to read files outside the shared directory via partial ZIP downloads.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-49244?
CVE-2026-49244 is a medium-severity path traversal vulnerability in drakkan sftpgo, published on 20 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-22
Which versions are affected by CVE-2026-49244?
4 open source packages ship an affected version, including github.com/drakkan/sftpgo/v2 and github.com/drakkan/sftpgo.
| Package | Affected | Fixed in |
|---|---|---|
github.com/drakkan/sftpgo/v2 Go | From 2.2.0 | 2.7.3 |
github.com/drakkan/sftpgo/v2 Go | From 2.2.0 | 2.7.3 |
github.com/drakkan/sftpgo/v2 Go | From 2.2.0 | 2.7.3 |
github.com/drakkan/sftpgo Go | All versions | None |
How do I fix CVE-2026-49244?
Upgrade github.com/drakkan/sftpgo/v2 to 2.7.3 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-49244 being exploited?
There is no known exploitation of CVE-2026-49244 in the wild and no public exploit code.
Sources
Also known as GHSA-h64p-8h4r-6gfh, GO-2026-5902.