{"schemaVersion":3,"id":"CVE-2026-49244","aliases":["GHSA-h64p-8h4r-6gfh","GO-2026-5902"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-08-20T21:53:12.098Z","modified":"2026-08-21T21:44:58.013Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.9,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":5.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00448,"percentile":0.3785,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.07799999999999994,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.0037},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00448,"percentile":0.3785}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00448,"percentile":0.3785}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"drakkan","product":"sftpgo","name":"sftpgo","label":"sftpgo","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.2.0 < 2.7.2","noFixRecorded":true,"fixedIn":null}],"versionsText":"≥ 2.2.0 < 2.7.2 (No fix recorded)","eol":null,"hubHref":"/vendor/drakkan/sftpgo"},{"vendor":"github.com/drakkan","product":"sftpgo","name":"github.com/drakkan/sftpgo","label":"sftpgo","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/drakkan/sftpgo","purlType":"golang","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"github.com/drakkan/sftpgo","product":"v2","name":"github.com/drakkan/sftpgo/v2","label":"v2","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/drakkan/sftpgo/v2","purlType":"golang","versions":[{"text":"≥ 2.2.0, < 2.7.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.2.0, < 2.7.3","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/drakkan/sftpgo/security/advisories/GHSA-h64p-8h4r-6gfh","label":"github.com/drakkan/sftpgo/security/advisories/GHSA-h64p-8h4r-6gfh","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory"]},{"url":"https://github.com/drakkan/sftpgo/commit/52a56584c417e325aea35ab23849422a90ba512f","label":"github.com/drakkan/sftpgo/commit/52a56584c417e325aea35ab23849422a90ba512f","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/drakkan/sftpgo/releases/tag/v2.7.3","label":"github.com/drakkan/sftpgo/releases/tag/v2.7.3","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/drakkan/sftpgo","label":"github.com/drakkan/sftpgo","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:21483-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:21483-1"]},"timeline":[{"kind":"published","date":"2026-08-20T21:53:12.098Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-08-21T21:44:58.013Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":24,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T12:32:32.077Z","stale":false,"partial":false}}