CVE-2026-30915: SFTPGo improperly sanitizes placeholders in group home directories/key prefixes
Vulnerability summary
CVE-2026-30915 is a medium (CVSS 5.3) Path Traversal vulnerability in drakkan sftpgo. EPSS estimates a 0.35% chance of exploitation in the next 30 days, higher than 27.5% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 13-03-2026PublishedVulnerability first disclosed.
- 13-03-2026Last modifiedVulnerability information updated.
Description
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
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · GoEcosystem advisory · calculated6.9MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:NDiffers
- NVDNIST5.3MediumCVSS: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
EPSS trend
Probability
0.35%
Chance of exploitation in the next 30 days
Percentile
28%
Versus all other CVEs
30-day change
Increase +0.04 pp
From 0.31% on 22-09-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Drakkan1 product
- sftpgo≥ 2.3.0, < 2.7.1
Github.com/drakkan1 product
- sftpgoAll versions (No fix recorded)
Github.com/drakkan/sftpgo1 product
- v2≥ 2.3.0, < 2.7.1
Sftpgo_project1 product
- sftpgo≥ 2.3.0, < 2.7.1
4 vendors · 4 products
References
4 links- github.com/drakkan/sftpgo/security/advisories/GHSA-m83q-5wr4-4gfpX Refsource CONFIRMWEBAdvisoryVendor Advisory
- github.com/drakkan/sftpgoPACKAGE