patchminder
No public exploit found CVE-2025-24366

Command injectionin drakkan SFTPGo.

Published 7 Feb 2025 · Updated 7 Feb 2025 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

No public exploit found; not on exploited lists.

Severity
High 7.5
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.7% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 2.6.5 or later
In plain words

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 now
  • Upgrade sftpgo to 2.6.5 or later.
  • Upgrade github.com/drakkan/sftpgo/v2 (Go) to 2.6.5 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
sftpgo
0.9.5 to before 2.6.5
2.6.5
CVE record
github.com/drakkan/sftpgo/v2 (Go)
0.9.5 to before 2.6.5
2.6.5
GitHub advisory
github.com/drakkan/sftpgo (Go)
1.2.2 and earlier
Not confirmed
GitHub advisory
github.com/drakkan/sftpgo (Go)
all versions
Not confirmed
GitHub advisory
github.com/drakkan/sftpgo/v2 (Go)
before 2.6.5
2.6.5
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 20 Jan 2025
    CVE ID reserved by GitHub_M.
  2. 7 Feb 2025
    Published in the CVE List.
  3. 7 Feb 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other SFTPGo vulnerabilities

Same weakness: OS command injection

All CWE-78 vulnerabilities

References
Cite this page

Patchminder. CVE-2025-24366: Command injection in drakkan SFTPGo. https://patchminder.com/cve/cve-2025-24366/ (accessed 5 December 2026).