Input Validation Issue in SFTPGo File Transfer Solution by Drakkan
CVE-2026-30915
5.3MEDIUM
What is CVE-2026-30915?
SFTPGo, an open-source, event-driven file transfer solution, suffers from an input validation flaw within the handling of dynamic group paths. Specifically, when a dynamic home directory or key prefix is configured using placeholders (e.g., %username%), the replacement value is inadequately sanitized. This lax validation allows for specially crafted usernames to potentially resolve to unintended parent directories, compromising the intended directory structure. This vulnerability has been addressed in version v2.7.1, ensuring safer handling of directory paths.
Affected Version(s)
sftpgo >= 2.3.0, < 2.7.1
