# CVE-2026-49244: SFTPGo: Path confinement bypass in public browsable share partial ZIP download

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 31% of CVEs (2026-11-30)
- Published: 2026-07-02T19:09:13.000Z
- Modified: 2026-10-18T20:10:00.110Z
- Also known as: GHSA-h64p-8h4r-6gfh, GO-2026-5902
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- drakkan sftpgo: >= 2.2.0 < 2.7.2
- github.com/drakkan/sftpgo/v2 (Go): from 2.2.0 before 2.7.3
- github.com/drakkan/sftpgo (Go): all versions

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/drakkan/sftpgo/security/advisories/GHSA-h64p-8h4r-6gfh> (advisory, web)
- <https://github.com/drakkan/sftpgo/commit/52a56584c417e325aea35ab23849422a90ba512f>
- <https://github.com/drakkan/sftpgo/releases/tag/v2.7.3>
- <https://github.com/drakkan/sftpgo> (package)

## Sources

- CVE List: [CVE-2026-49244](https://www.cve.org/CVERecord?id=CVE-2026-49244), CVE Terms of Use, modified 2026-08-21
- GitHub Advisory Database: [GHSA-h64p-8h4r-6gfh](https://github.com/advisories/GHSA-h64p-8h4r-6gfh), CC-BY-4.0, modified 2026-07-07
- Go Vulnerability Database: [GO-2026-5902](https://pkg.go.dev/vuln/GO-2026-5902), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2026-49244](https://nvd.nist.gov/vuln/detail/CVE-2026-49244), Public domain, modified 2026-10-18

---

Page: https://cve.day/CVE-2026-49244 · Whole record: https://cve.day/CVE-2026-49244.json · Rebuilt by cve.day 2026-11-25T22:59:34.733Z
