{"id":"CVE-2026-49244","title":"SFTPGo is an open source, event-driven file transfer solution","summary":"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 ra…","severity":"medium","cvss":5.9,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","cwe":["CWE-22"],"vendor":"drakkan","product":"github.com/drakkan/sftpgo/v2","affected":["github.com/drakkan/sftpgo/v2 >= 2.2.0, <= 2.7.1"],"patched":["github.com/drakkan/sftpgo/v2 2.7.3"],"published":"2026-08-20","updated":"2026-09-18","sourceUpdated":"2026-09-18T20:09:01.757","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-49244","references":[{"url":"https://github.com/drakkan/sftpgo/commit/52a56584c417e325aea35ab23849422a90ba512f","label":"security-advisories@github.com"},{"url":"https://github.com/drakkan/sftpgo/releases/tag/v2.7.3","label":"security-advisories@github.com"},{"url":"https://github.com/drakkan/sftpgo/security/advisories/GHSA-h64p-8h4r-6gfh","label":"security-advisories@github.com"},{"url":"https://github.com/advisories/GHSA-h64p-8h4r-6gfh"}],"tags":["nvd","ghsa","go"],"epss":0.0037,"epssPercentile":0.30889,"ecosystem":"go","ingestedAt":"2026-07-02T19:41:50.950Z","slug":"CVE-2026-49244","body":"## Overview\n\nSFTPGo 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-49244)\n\nAffected packages:\n\n- `github.com/drakkan/sftpgo/v2 >= 2.2.0, <= 2.7.1`\n\nPatched in:\n\n- `github.com/drakkan/sftpgo/v2 2.7.3`\n\nSource: https://github.com/advisories/GHSA-h64p-8h4r-6gfh","depth":"sunlit","depthScore":33,"depthScoreParts":{"impact":32.5,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}