SCA: security update for basic-ftp (GHSA-chqc-8p9q-pq6q)

high Tenable Self-Hosted Container Security Plugin ID 440088

Description

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

- basic-ftp is an FTP client for Node.js. Prior to 5.2.1, basic-ftp allows FTP command injection via CRLF
sequences (\r\n) in file path parameters passed to high-level path APIs such as cd(), remove(), rename(),
uploadFrom(), downloadTo(), list(), and removeDir(). The library's protectWhitespace() helper only handles
leading spaces and returns other paths unchanged, while FtpContext.send() writes the resulting command
string directly to the control socket with \r\n appended. This lets attacker-controlled path strings split
one intended FTP command into multiple commands. This vulnerability is fixed in 5.2.1. (CVE-2026-39983)

Solution

Update the basic-ftp library and its related packages to version 5.2.1 or later.

See Also

https://github.com/advisories/GHSA-chqc-8p9q-pq6q

Plugin Details

Severity: High

ID: 440088

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 4/9/2026

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 3.9

Percentile: 52.78

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 7

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

CVSS Score Source: CVE-2026-39983

CVSS v3

Risk Factor: High

Base Score: 8.6

Temporal Score: 7.7

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/8/2026

Vulnerability Publication Date: 4/8/2026

Reference Information

CVE: CVE-2026-39983

cwe: CWE-93