Description
SFTPGo is an open source, event-driven file transfer solution. SFTPGo supports execution of a defined set of commands via SSH. Besides a set of default commands some optional commands can be activated, one of them being `rsync`. It is disabled in the default configuration and it is limited to the local filesystem, it does not work with cloud/remote storage backends. Due to missing sanitization of the client provided `rsync` command, an authenticated remote user can use some options of the rsync command to read or write files with the permissions of the SFTPGo server process. This issue was fixed in version v2.6.5 by checking the client provided arguments. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| drakkan | sftpgo | >= 0.9.5, < 2.6.5 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP6 | govulncheck-vulndb | 0.0.20250207T224745-150000.1.32.1 | SUSE-SU-2025:0429-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | govulncheck-vulndb | 0.0.20250207T224745-1.1 | openSUSE-SU-2025:14754-1 |
| openSUSE Leap 15.6 | govulncheck-vulndb | 0.0.20250207T224745-150000.1.32.1 | SUSE-SU-2025:0429-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/drakkan/sftpgo | <= 1.2.2 | — | GHSA-vj7w-3m8c-6vpx |
| Go | github.com/drakkan/sftpgo | all versions | — | GO-2025-3458 |
| Go | github.com/drakkan/sftpgo/v2 | >= 0.9.5, < 2.6.5 | 2.6.5 | GHSA-vj7w-3m8c-6vpx |
| Go | github.com/drakkan/sftpgo/v2 | < 2.6.5 | 2.6.5 | GO-2025-3458 |
Advisories 2
- SUSE-SU-2025:0429-1 Security update for govulncheck-vulndb SUSE / openSUSE Security Updates · Feb 5, 2026
- openSUSE-SU-2025:14754-1 govulncheck-vulndb-0.0.20250207T224745-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026