CVE-2025-24366: Insufficient sanitization of user provided rsync command in SFTPGo
Vulnerability summary
CVE-2025-24366 is a high (CVSS 7.5) vulnerability in drakkan sftpgo. EPSS estimates a 0.73% chance of exploitation in the next 30 days, higher than 54.3% of scored vulnerabilities.
Not severe (CVSS 7.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 07-02-2025PublishedVulnerability first disclosed.
- 07-02-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · GoEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.73%
Chance of exploitation in the next 30 days
Percentile
54%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.73% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Drakkan1 product
- sftpgo≥ 0.9.5, < 2.6.5
Github.com/drakkan1 product
- sftpgo≤ 1.2.2 | All versions (No fix recorded)
Github.com/drakkan/sftpgo1 product
- v2≥ 0.9.5, < 2.6.5 | < 2.6.5
3 vendors · 3 products
References
4 links- github.com/drakkan/sftpgoPACKAGE