{"id":"CVE-2026-49244","published":"2026-08-20T21:53:12Z","modified":"2026-08-21T21:44:58Z","title":"SFTPGo: Path confinement bypass in public browsable share partial ZIP download","vendor":"drakkan","product":"sftpgo","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00448,"percentile":0.39789,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/drakkan/sftpgo/security/advisories/GHSA-h64p-8h4r-6gfh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/drakkan/sftpgo/commit/52a56584c417e325aea35ab23849422a90ba512f","tags":["x_refsource_MISC"]},{"url":"https://github.com/drakkan/sftpgo/releases/tag/v2.7.3","tags":["x_refsource_MISC"]}],"priority":{"score":12.1,"factors":[{"name":"EPSS percentile","points":7.96},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"drakkan","affectedVersions":[{"vendor":"drakkan","product":"sftpgo","versions":[">= 2.2.0 < 2.7.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-21T20:58:27.136909Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/drakkan/sftpgo/v2","vulnerableRanges":[">=2.2.0, <2.7.3"],"patched":["2.7.3"],"from":["GHSA-h64p-8h4r-6gfh","GO-2026-5902"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/drakkan/sftpgo","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-5902"],"provenance":"source"}],"summary":{"text":"SFTPGo's public web-client partial ZIP download endpoint for browsable shares validates client-supplied file entries using a raw byte-prefix comparison rather than a directory-boundary-aware check, allowing a path traversal flaw in versions 2.2.0 through 2.7.3. An unauthenticated requester who can reach a public share can exploit this by naming a sibling path that shares the shared directory's name as a prefix, causing the out-of-scope file to be included in the generated download and its contents disclosed, with high attack complexity.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:53:36Z"},"euvd":{"id":"EUVD-2026-63713","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-drakkan-sftpgo-cve-2024-37897","parents":[{"from":"CVE-2024-37897","to":"CVE-2026-49244","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["internal/httpd/api_utils.go"],"commits":["https://github.com/drakkan/sftpgo/commit/1f8ac8bfe16100b0484d6c91e1e8361687324423","https://github.com/drakkan/sftpgo/commit/3462bba3f41cbc75486474991b9e3ac1b5f1e583","https://github.com/drakkan/sftpgo/commit/52a56584c417e325aea35ab23849422a90ba512f"],"basis":"rarely changed file"}]},{"from":"CVE-2024-52309","to":"CVE-2026-49244","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["internal/common/eventmanager.go"],"commits":["https://github.com/drakkan/sftpgo/commit/88b1850b5806eee81150873d4e565144b21021fb","https://github.com/drakkan/sftpgo/commit/b524da11e9466d05fe03304713ee1c61bb276ec4","https://github.com/drakkan/sftpgo/commit/52a56584c417e325aea35ab23849422a90ba512f"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2026-49244","to":"CVE-2026-49245","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["internal/httpd/api_utils.go"],"commits":["https://github.com/drakkan/sftpgo/commit/52a56584c417e325aea35ab23849422a90ba512f","https://github.com/drakkan/sftpgo/commit/b5409a478138fca5f1d369ae5d47f753156cbd15"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2025-24366","published":"2025-02-07","fixed":"2.6.5","kev":false},{"cve":"CVE-2026-30914","published":"2026-03-13","fixed":"2.7.1","kev":false,"link":{"from":"CVE-2026-30914","to":"CVE-2026-49244","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/drakkan/sftpgo/v2","fromFixed":"2.7.1","toFixed":"2.7.3","daysApart":160}]}},{"cve":"CVE-2026-30915","published":"2026-03-13","fixed":"2.7.1","kev":false},{"cve":"CVE-2026-49244","published":"2026-08-20","fixed":"2.7.3","kev":false},{"cve":"CVE-2026-49245","published":"2026-08-20","fixed":"2.7.3","kev":false},{"cve":"CVE-2026-77375","published":"2026-10-13","fixed":"2.7.5","kev":false},{"cve":"CVE-2026-103028","published":"2026-10-13","fixed":"2.7.6","kev":false}],"package":"Go:github.com/drakkan/sftpgo/v2"}}