{"id":"CVE-2026-49244","state":"PUBLISHED","title":"SFTPGo: Path confinement bypass in public browsable share partial ZIP download","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.","publishedAt":"2026-08-20T21:53:12.098Z","updatedAt":"2026-08-21T21:44:58.013Z","severity":{"score":5.9,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["drakkan sftpgo"],"affected":[{"vendor":"drakkan","product":"sftpgo","versions":[{"version":">= 2.2.0 < 2.7.2","status":"affected"}]}],"references":["https://github.com/drakkan/sftpgo/security/advisories/GHSA-h64p-8h4r-6gfh","https://github.com/drakkan/sftpgo/commit/52a56584c417e325aea35ab23849422a90ba512f","https://github.com/drakkan/sftpgo/releases/tag/v2.7.3"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/49xxx/CVE-2026-49244.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-49244","state":"PUBLISHED","datePublished":"2026-08-20T21:53:12.098Z","dateUpdated":"2026-08-21T21:44:58.013Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-28T14:33:01.178Z"},"containers":{"cna":{"title":"SFTPGo: Path confinement bypass in public browsable share partial ZIP download","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"drakkan","product":"sftpgo","versions":[{"version":">= 2.2.0 < 2.7.2","status":"affected"}]}],"references":[{"url":"https://github.com/drakkan/sftpgo/security/advisories/GHSA-h64p-8h4r-6gfh","name":"https://github.com/drakkan/sftpgo/security/advisories/GHSA-h64p-8h4r-6gfh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/drakkan/sftpgo/commit/52a56584c417e325aea35ab23849422a90ba512f","name":"https://github.com/drakkan/sftpgo/commit/52a56584c417e325aea35ab23849422a90ba512f","tags":["x_refsource_MISC"]},{"url":"https://github.com/drakkan/sftpgo/releases/tag/v2.7.3","name":"https://github.com/drakkan/sftpgo/releases/tag/v2.7.3","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-20T21:53:12.098Z"},"source":{"advisory":"GHSA-h64p-8h4r-6gfh","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-21T20:58:27.136909Z","id":"CVE-2026-49244","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-21T21:44:58.013Z"}}]}}}