basic-ftp

FTP client for Node.js, supports FTPS over TLS, IPv6, Async/Await, and Typescript.

6.2.6Latest, 4 Nov 2026
142MDownloads, last month
0Advisories on the latest
8Advisories, all versions
MITLicence
738Stars
6.0/10OpenSSF Scorecard

Known advisories

Severity Advisory Fix Published
Moderate basic-ftp: Uncaught TypeError in MLSD directory-listing parser via __proto__ fact name causes DoS in Client.list() CVE-2026-126345 Fixed in 6.2.4 12 Nov 2026
Moderate basic-ftp: Uncaught exception crashes the Node.js process when a password (or resumed-download path) contains CR/LF CVE-2026-126346 Fixed in 6.2.3 12 Nov 2026
High basic-ftp: Quadratic-time CPU denial of service in Client.list() Unix directory-listing parser (RE_LINE backtracking) CVE-2026-102990 Fixed in 6.2.1 1 Oct 2026
High basic-ftp allows a malicious FTP server to cause client-side denial of service via unbounded multiline control response buffering CVE-2026-44240 Fixed in 5.3.1 6 May 2026
High basic-ftp vulnerable to denial of service via unbounded memory consumption in Client.list() CVE-2026-41324 Fixed in 5.3.0 16 Apr 2026
High basic-ftp: Incomplete CRLF Injection Protection Allows Arbitrary FTP Command Execution via Credentials and MKD Commands GHSA-6v7q-wjvx-w8wg Fixed in 5.2.2 10 Apr 2026
High basic-ftp has FTP Command Injection via CRLF CVE-2026-39983 Fixed in 5.2.1 8 Apr 2026
Critical Basic FTP has Path Traversal Vulnerability in its downloadToDir() method CVE-2026-27699 Fixed in 5.2.0 25 Feb 2026

Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.