Security mailing lists by PureSourceCode

CVE-2025-24366

HIGH 7.5CVSS 3.1

SFTPGo has insufficient sanitization of user provided rsync command

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.

Published
7 Feb 2025
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-78
Also known as
GHSA-vj7w-3m8c-6vpxGO-2025-3458
Sources
NVDJSONOSV GHSA-vj7w-3m8c-6vpxJSONOSV GO-2025-3458JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/drakkan/sftpgo/v2 >= 0.9.5, < 2.6.5 2.6.5
OSV Go github.com/drakkan/sftpgo <= 1.2.2
OSV Go github.com/drakkan/sftpgo all versions
OSV Go github.com/drakkan/sftpgo/v2 < 2.6.5 2.6.5

References

History

  • 25 Nov 2026 20:57 UTC · NVD: first stored (published 7 Feb 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Feb 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Feb 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.