SCA: security update for github.com/drakkan/sftpgo/v2 (GHSA-m83q-5wr4-4gfp)

medium Tenable Self-Hosted Container Security Plugin ID 438808

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 versions before v2.7.1 contain an
input validation issue in the handling of dynamic group paths, for example, home directories or key
prefixes. When a group is configured with a dynamic home directory or key prefix using placeholders like
%username%, the value replacing the placeholder is not strictly sanitized against relative path
components. Consequently, if a user is created with a specially crafted username the resulting path may
resolve to a parent directory instead of the intended sub-directory. This issue is fixed in version v2.7.1
(CVE-2026-30915)

Solution

Update the github.com/drakkan/sftpgo/v2 library and its related packages to version 2.7.1 or later.

See Also

https://github.com/advisories/GHSA-m83q-5wr4-4gfp

Plugin Details

Severity: Medium

ID: 438808

Version: Revision 1.10

Type: Local

Family: SCA Checks

Published: 3/14/2026

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 1.2

Percentile: 0.01

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4

Temporal Score: 3

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

CVSS Score Source: CVE-2026-30915

CVSS v3

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.8

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

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

CVSS v4

Risk Factor: Medium

Base Score: 5.3

Threat Score: 1.3

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 3/13/2026

Vulnerability Publication Date: 3/13/2026

Reference Information

CVE: CVE-2026-30915