Insufficient sanitization of user provided rsync command in SFTPGo
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-78.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| drakkan | sftpgo | 0.9.5 to before 2.6.5 | 2.6.5 | Patch available | CNA |
| — | github.com/drakkan/sftpgo/v2 (Go) | 0.9.5 to before 2.6.5 | 2.6.5 | Patch available | GHSA-vj7w-3m8c-6vpx |
| — | github.com/drakkan/sftpgo (Go) | up to 1.2.2 | — | No fix listed | GHSA-vj7w-3m8c-6vpx |
- sftpgo Vendordrakkan Affected 0.9.5 to before 2.6.5 Fixed in 2.6.5 Patch available CNA
- github.com/drakkan/sftpgo/v2 (Go) Vendor— Affected 0.9.5 to before 2.6.5 Fixed in 2.6.5 Patch available GHSA-vj7w-3m8c-6vpx
- github.com/drakkan/sftpgo (Go) Vendor— Affected up to 1.2.2 Fixed in — No fix listed GHSA-vj7w-3m8c-6vpx
Remediation
- Fix · CNA sftpgo (drakkan) Fixed in 2.6.5
- Fix · GHSA-vj7w-3m8c-6vpx github.com/drakkan/sftpgo/v2 (Go) Fixed in 2.6.5 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-24366
- 2026-10-03 Alias added: GHSA-vj7w-3m8c-6vpx
References
More drakkan vulnerabilities
- TI-2022-16494 Recovery codes abuse in SFTPGo CVSS 3.1HIGH 8.3
- TI-2023-26623 The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6… CVSS 3.1MEDIUM 5.9
- TI-2026-71799 Denial of service in SFTPGo via malformed SSH channel request CVSS 3.1MEDIUM 6.5
- TI-2022-18599 XSS Vulnerabilities in WebClient CVSS 3.1MEDIUM 6.1
- TI-2026-36441 SFTPGo: Path confinement bypass in public browsable share partial ZIP download CVSS 3.1MEDIUM 5.9
- TI-2026-23740 SFTPGo has a Path Traversal and Permission Bypass via Path Normalization Discrepancy CVSS 4.0MEDIUM 5.3
Sources
- CVE-2025-24366 · CVE Program
- CVE-2025-24366 · NVD
- FIRST EPSS
- GHSA-vj7w-3m8c-6vpx · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences