CVE-2025-24366drakkan sftpgo
High 7.5
Follow: this CVE · drakkan · drakkan sftpgo We alert you by email or Slack (account required).
- Priority
- 45
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- Yes
- Published
- Feb 7, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-78
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for sftpgo.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/drakkan/sftpgo |
≤ 1.2.2 |
no fixed version | — |
| Go | github.com/drakkan/sftpgo |
all |
no fixed version | — |
| Go | github.com/drakkan/sftpgo/v2 |
≥ 0.9.5 < 2.6.5 |
2.6.5 |
go get github.com/drakkan/sftpgo/v2@v2.6.5 |
| Go | github.com/drakkan/sftpgo/v2 |
< 2.6.5 |
2.6.5 |
go get github.com/drakkan/sftpgo/v2@v2.6.5 |
Per OSV / GitHub Advisories (GHSA-vj7w-3m8c-6vpx, GO-2025-3458). Check the version in your lockfile before upgrading.
Affected products
- drakkan · sftpgo
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.