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.
Published: 2026-08-20
Score: 5.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

SFTPGo’s public web‑client partial ZIP download endpoint allowed unauthenticated callers to request file names that, although starting with the share’s directory name, referenced files outside the share, leading to disclosure of arbitrary files. The flaw stemmed from using a raw byte‑prefix comparison rather than a directory‑boundary‑aware check, so the download generator included out‑of‑scope content.

Affected Systems

The vulnerability affected SFTPGo versions 2.2.0 through 2.7.2 inclusive for any instance exposing a public browsable share. The issue was fixed in release 2.7.3.

Risk and Exploitability

The CVSS score of 5.9 indicates moderate severity. The flaw is exploitable by any network user who can reach a public share; authentication is not required. EPSS data are not available, and the issue is not listed in CISA’s KEV catalog, suggesting no known active exploitation at the time of analysis. Attackers could achieve confidential data disclosure by selecting sibling paths that share the share name prefix.

Generated by OpenCVE AI on August 21, 2026 at 00:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade SFTPGo to version 2.7.3 or later to apply the vendor fix.
  • If an upgrade is not immediately possible, disable the public share’s partial ZIP download feature or restrict the share to internal networks only.
  • Verify that any public shares are strictly limited to intended directories and that directory traversal checks are enforced.

Generated by OpenCVE AI on August 21, 2026 at 00:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-h64p-8h4r-6gfh SFTPGo has path confinement bypass in public browsable share partial ZIP download
History

Sun, 23 Aug 2026 04:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 21 Aug 2026 00:45:00 +0000

Type Values Removed Values Added
First Time appeared Drakkan
Drakkan sftpgo
Vendors & Products Drakkan
Drakkan sftpgo

Thu, 20 Aug 2026 22:15:00 +0000

Type Values Removed Values Added
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.
Title SFTPGo: Path confinement bypass in public browsable share partial ZIP download
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-21T21:44:58.013Z

Reserved: 2026-05-28T14:33:01.178Z

Link: CVE-2026-49244

cve-icon Vulnrichment

Updated: 2026-08-21T20:58:28.577Z

cve-icon NVD

Status : Received

Published: 2026-08-20T22:17:19.947

Modified: 2026-08-21T22:16:38.193

Link: CVE-2026-49244

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T00:30:07Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')