github.com/drakkan/sftpgo/v2
Affected
- introduced
2.2.0, fixed2.7.3(semver)
Fixed versions
2.7.3
Fix
- Fixed version
2.7.3go get github.com/drakkan/sftpgo/[email protected]
Advisory
Also known as: CVE-2026-49244, GO-2026-5902
SFTPGo has path confinement bypass in public browsable share partial ZIP download
Summary
The public web-client endpoint for partial ZIP downloads of a browsable share did not correctly confine the client-supplied files entries to the shared directory. A requester able to reach a public share could read files located outside the shared directory, as long as the target's canonical path begins with the shared directory's name.
Patches
Fixed in v2.7.3. The fix replaces the raw prefix check with a directory-boundary–aware check.
Medium Basis: The source's own band: MODERATE
2.2.0, fixed 2.7.3 (semver)2.7.3
2.7.3go get github.com/drakkan/sftpgo/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0