CVE-2026-30915 MEDIUM

CVE-2026-30915: SFTPGo improperly sanitizes placeholders in group home directories/key prefixes

Vendor Drakkan
Product sftpgo
Weakness CWE-22 · Path traversal
Published March 13, 2026
Last update March 13, 2026

CVSS base score

5.3/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality
Integrity

CVSS 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

What the vulnerability does

01Description

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

Key dates

02Disclosure timeline

March 13, 2026 CVE published
March 13, 2026 Record updated