Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify public SFTPGo web-client endpoint
-
DeliveryEnumerate or predict browsable share name
-
ExploitCraft ZIP download request with path-traversal entries
-
ExecutionBypass raw prefix check via canonical path prefix match
-
ImpactRetrieve files from outside share boundary
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires three concurrent conditions: (1) the SFTPGo instance must have at least one public (unauthenticated) browsable share configured and accessible to the requester - private or authenticated-only shares are not affected; (2) the web-client HTTP interface must be reachable by the attacker, which is network-dependent; (3) the canonical path of the target file must begin with the shared directory's name, meaning the attacker must identify or predict a file in a directory whose name shares a prefix with the public share directory. Authentication is not required by design for public shares (PR:N in CVSS). Deployments where no public shares are configured, or where the web-client port is firewalled, are not exploitable. |
| Impact | The NVD-assigned CVSS 3.1 score of 5.9 (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N) reflects a meaningful but conditionally exploitable information disclosure. The High attack complexity (AC:H) is grounded in the description's constraint: exploitation succeeds only when the target file's canonical path begins with the shared directory's name, narrowing the attack surface to predictable path structures (e.g., sibling directories sharing a name prefix). No EPSS score was provided in the source data, so exploitation probability cannot be quantified. No KEV listing exists, and no public POC has been identified - the real-world risk is therefore limited to opportunistic discovery or targeted exploitation by an attacker who can enumerate or predict directory layouts. The impact is confined to confidentiality (C:H) with no integrity or availability effect. Instances that expose public shares to the internet carry elevated risk; deployments where public shares are restricted to internal networks have substantially reduced exposure. The fix in v2.7.3 is a targeted code change replacing the prefix check with directory-boundary logic, lending high confidence to its completeness. |
| Exploit ScenarioDerived | An attacker who discovers a public SFTPGo share (e.g., via web crawling or direct URL enumeration) submits a crafted partial ZIP download request to the web-client endpoint, supplying file entries whose paths are constructed so their canonical form begins with the shared directory name but traverses to a sibling directory - for instance, requesting '/shares/uploads/../uploads-internal/config.json' where 'uploads-internal' canonicalizes to a string starting with 'uploads'. The server's prefix check passes, and the file contents are returned in the ZIP response, exposing data outside the intended share boundary. No public POC has been identified, but the vulnerability class (path traversal via prefix bypass) is well-understood and reproducible from the advisory description alone. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 02, 2026
Path traversal in SFTPGo's public web-client partial ZIP download endpoint allows unauthenticated remote attackers to read files located outside a browsable share's directory boundary. The flaw exists because the endpoint validated file entries using a raw string prefix check rather than a directory-boundary-aware comparison - a crafted request can escape the share root by supplying paths whose canonical form begins with the shared directory name but resolves to a parent or sibling path. Affected versions prior to v2.7.3 are vulnerable; no public exploit or CISA KEV listing has been identified at time of analysis.
RemediationAI
Upgrade SFTPGo to version 2.7.3 or later, which replaces the raw string prefix check with a directory-boundary-aware path confinement check. The fix is documented in the GitHub Security Advisory GHSA-h64p-8h4r-6gfh (https://github.com/drakkan/sftpgo/security/advisories/GHSA-h64p-8h4r-6gfh). If an immediate upgrade is not possible, the most effective compensating control is to disable public (unauthenticated) browsable shares entirely - this removes the vulnerable endpoint from the attack surface with no impact on authenticated user sessions. Alternatively, restrict network access to the SFTPGo web-client port to trusted IP ranges via firewall rules, limiting exposure to internal networks where path enumeration is harder. Note that restricting network access does not eliminate the vulnerability if internal threat actors or compromised hosts are a concern; patching remains the definitive fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
SFTPGo (pkg:go/github.com_drakkan_sftpgo_v2) is an open-source, feature-rich file transfer server written in Go supporting SFTP, FTP/S, WebDAV, and an HTTP web-client interface. The vulnerability resides in the web-client endpoint that generates partial ZIP archives for browsable public shares. CWE-22 (Improper Limitation of a Pathname to a Restricted Directory - Path Traversal) applies: the server evaluated whether a client-supplied file entry belonged to the share by checking whether the entry's canonical path string started with the shared directory name, rather than verifying directory containment via a proper separator-aware boundary check. This classic 'prefix bypass' pattern allows an attacker to name a path such that its canonical form starts with e.g. '/shares/data' but actually resolves to '/shares/data-secret/file.txt', satisfying the prefix check while escaping the intended directory boundary.
Know when Canonical gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Public shares require no authentication (PR:N); canonical path prefix constraint limits viable targets (AC:H); impact is read-only file disclosure outside share boundary (C:H, I:N, A:N).
Primary rating from Vendor (https://github.com/drakkan/sftpgo).
CVSS VectorVendor: https://github.com/drakkan/sftpgo
DescriptionCVE.org
Summary
The public web-client endpoint for partial ZIP downloads of a browsable share did not correctly confine the client-supplied files entries to the shared directory. A requester able to reach a public share could read files located outside the shared directory, as long as the target's canonical path begins with the shared directory's name.
Patches
Fixed in v2.7.3. The fix replaces the raw prefix check with a directory-boundary-aware check.
Articles & Coverage 1
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
The (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT coders in ImageMagick before 6.
When running Apache Tomcat versions 9.0.0.M1 to 9.0.0, 8.5.0 to 8.5.22, 8.0.0.RC1 to 8.0.46 and 7.0.0 to 7.0.81 with HTT
Remote code execution is possible with Apache Tomcat before 6.0.48, 7.x before 7.0.73, 8.x before 8.0.39, 8.5.x before 8
GNU Bash through 4.3 bash43-025 processes trailing strings after certain malformed function definitions in the values of
The (1) TLS and (2) DTLS implementations in OpenSSL 1.0.1 before 1.0.1g do not properly handle Heartbeat Extension packe
Race condition in mm/gup.c in the Linux kernel 2.x through 4.x before 4.8.3 allows local users to gain privileges by lev
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 17 and earlier, and
Local privilege escalation in the GNU C Library (glibc) dynamic loader ld.so allows unprivileged local users on affected
Same weakness CWE-22 – Path Traversal
View allSame technique Path Traversal
View allVendor StatusVendor
SUSE
Severity: Moderate| Product | Status |
|---|---|
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-63713
GHSA-h64p-8h4r-6gfh
NVD
CVE.org
EPSS
Exploit-DB