# basic-ftp (npm)

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

- Latest: 6.2.6 (2026-11-04)
- Licence: MIT
- Downloads: 141714348 last month
- Advisories on the latest version: 0

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

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