SCA: security update for github.com/drakkan/sftpgo/v2 (GHSA-vj7w-3m8c-6vpx)

high Tenable Self-Hosted Container Security Plugin ID 420854

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2025-24366)

See Also

https://github.com/advisories/GHSA-vj7w-3m8c-6vpx

Plugin Details

Severity: High

ID: 420854

Version: Revision 1.16

Type: Local

Family: SCA Checks

Published: 2/8/2025

Updated: 6/1/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.75

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.1

Temporal Score: 5.3

Vector: CVSS2#AV:N/AC:H/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2025-24366

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 2/7/2025

Vulnerability Publication Date: 2/7/2025

Reference Information

CVE: CVE-2025-24366

cwe: CWE-78