7.5

CVE-2025-24366: Insufficient sanitization of user provided rsync command in SFTPGo

Deferred
AliasesGHSA-vj7w-3m8c-6vpxGO-2025-3458
Published 07-02-2025Last modified 07-02-2025

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.

Priority
Routine

Not severe (CVSS 7.5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
0.73%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2 · Related 2

Timeline

  1. 07-02-2025
    PublishedVulnerability first disclosed.
  2. 07-02-2025
    Last 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

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

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Drakkan1 product
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