CVE-2026-30915

Source
https://cve.org/CVERecord?id=CVE-2026-30915
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-30915.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-30915
Aliases
Downstream
Related
Published
2026-03-13T19:04:36.856Z
Modified
2026-04-10T05:41:57.644930Z
Severity
  • 5.3 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
SFTPGo improperly sanitizes placeholders in group home directories/key prefixes
Details

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

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/30xxx/CVE-2026-30915.json"
}
References

Affected packages

Git / github.com/drakkan/sftpgo

Affected ranges

Type
GIT
Repo
https://github.com/drakkan/sftpgo
Events

Affected versions

v2.*
v2.3.0
v2.4.0
v2.5.0
v2.5.1
v2.6.0
v2.7.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-30915.json"