SFTPGo improperly sanitizes placeholders in group home directories/key prefixes
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.
Summary
SFTPGo is an open source, event-driven file transfer solution. SFTPGo versions before v2.7.1 contain an input validation issue in the handling of dynamic group paths, for example, home directories or key prefixes. When a group is configured with a dynamic home directory or key prefix using placeholders like %username%, the value replacing the placeholder is not strictly sanitized against relative path components. Consequently, if a user is created with a specially crafted username the resulting path may resolve to a parent directory instead of the intended sub-directory. This issue is fixed in version v2.7.1
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| drakkan | sftpgo | 2.3.0 to before 2.7.1 | 2.7.1 | Patch available | CNA |
| — | github.com/drakkan/sftpgo/v2 (Go) | 2.3.0 to before 2.7.1 | 2.7.1 | Patch available | GHSA-m83q-5wr4-4gfp |
- sftpgo Vendordrakkan Affected 2.3.0 to before 2.7.1 Fixed in 2.7.1 Patch available CNA
- github.com/drakkan/sftpgo/v2 (Go) Vendor— Affected 2.3.0 to before 2.7.1 Fixed in 2.7.1 Patch available GHSA-m83q-5wr4-4gfp
Remediation
- Fix · CNA sftpgo (drakkan) Fixed in 2.7.1
- Fix · GHSA-m83q-5wr4-4gfp github.com/drakkan/sftpgo/v2 (Go) Fixed in 2.7.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-30915
- 2026-10-03 Alias added: GHSA-m83q-5wr4-4gfp
References
More drakkan Sftpgo vulnerabilities
- TI-2022-16494 Recovery codes abuse in SFTPGo CVSS 3.1HIGH 8.3
- TI-2023-26623 The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6… CVSS 3.1MEDIUM 5.9
- TI-2022-18599 XSS Vulnerabilities in WebClient CVSS 3.1MEDIUM 6.1
- TI-2026-23740 SFTPGo has a Path Traversal and Permission Bypass via Path Normalization Discrepancy CVSS 4.0MEDIUM 5.3
Sources
- CVE-2026-30915 · CVE Program
- CVE-2026-30915 · NVD
- FIRST EPSS
- GHSA-m83q-5wr4-4gfp · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences