{"cve":"CVE-2025-24366","nvd":{"published":"2025-02-07T22:15:14.463","modified":"2026-06-17T08:58:54.683","status":"Deferred","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5},"cwes":["CWE-78"],"references":["https://github.com/drakkan/sftpgo/commit/b347ab6051f6c501da205c09315fe99cd1fa3ba1","https://github.com/drakkan/sftpgo/security/advisories/GHSA-vj7w-3m8c-6vpx"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:59:18.731010617+00:00"},"epss":{"cve":"CVE-2025-24366","score":0.00731,"percentile":0.54321,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-vj7w-3m8c-6vpx","url":"https://osv.dev/vulnerability/GHSA-vj7w-3m8c-6vpx","summary":"SFTPGo has insufficient sanitization of user provided rsync command","modified":"2025-02-10T17:01:46Z","packages":[{"ecosystem":"Go","name":"github.com/drakkan/sftpgo/v2","purl":"pkg:golang/github.com/drakkan/sftpgo/v2","ranges":[">=0.9.5 <2.6.5"],"fixed":["2.6.5"]},{"ecosystem":"Go","name":"github.com/drakkan/sftpgo","purl":"pkg:golang/github.com/drakkan/sftpgo","ranges":["<=1.2.2"],"fixed":[]}]},{"id":"GO-2025-3458","url":"https://osv.dev/vulnerability/GO-2025-3458","summary":"SFTPGo has insufficient sanitization of user provided rsync command in github.com/drakkan/sftpgo","modified":"2026-03-03T04:56:15.364691Z","packages":[{"ecosystem":"Go","name":"github.com/drakkan/sftpgo","purl":"pkg:golang/github.com/drakkan/sftpgo","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/drakkan/sftpgo/v2","purl":"pkg:golang/github.com/drakkan/sftpgo/v2","ranges":["<2.6.5"],"fixed":["2.6.5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}