CVE-2026-30915Sftpgo Project Sftpgo
Medium 5.3
Follow: this CVE · Sftpgo Project · Sftpgo Project Sftpgo We alert you by email or Slack (account required).
- Priority
- 32
- CVSS 4.0
- 5.3
- EPSS
- —
- Auth required
- Yes
- Published
- Mar 13, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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
What to do
- Apply the vendor's security update for Sftpgo.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/drakkan/sftpgo |
all |
no fixed version | — |
| Go | github.com/drakkan/sftpgo/v2 |
≥ 2.3.0 < 2.7.1 |
2.7.1 |
go get github.com/drakkan/sftpgo/v2@v2.7.1 |
| Go | github.com/drakkan/sftpgo/v2 |
≥ 2.3.0 < 2.7.1 |
2.7.1 |
go get github.com/drakkan/sftpgo/v2@v2.7.1 |
Per OSV / GitHub Advisories (GO-2026-4697, GHSA-m83q-5wr4-4gfp). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| sftpgo_project | sftpgo | ≥ 2.3.0 < 2.7.1 |
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:1042-1 · Mar 25, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Vendor Advisory