# basic-ftp (npm) vulnerabilities

5 known vulnerabilities (1 critical, 4 high), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: 6.2.6 (Nov 4, 2026): no advisory affects it
- Newest unaffected release: 6.2.6 (Nov 4, 2026), the latest release
- Weekly downloads: 32.8M
- Releases: 129 since 1.0.0 (Dec 30, 2017)
- Registry: https://www.npmjs.com/package/basic-ftp
- Releases read: Nov 8, 2026

## Version timeline

Affected versions per advisory, in version order:

- CVE-2026-102990: 1.0.0 to 6.2.0 (6.2.1 is outside it)
- CVE-2026-44240: 1.0.0 to 5.3.0 (5.3.1 is outside it)
- CVE-2026-41324: 1.0.0 to 5.2.2 (5.3.0 is outside it)
- CVE-2026-39983: 5.2.0 (5.2.1 is outside it)
- CVE-2026-27699: 1.0.0 to 5.1.0 (5.2.0 is outside it)

## Advisories (5)

### [CVE-2026-102990](https://cve.now/CVE-2026-102990): basic-ftp: Quadratic-time CPU denial of service in Client.list() Unix directory-listing parser (RE\_LINE backtracking)

- Severity: High 8.2
- Published: Sep 30, 2026
- Affected: fixed in 6.2.1.
- Fixed in 6.2.1 (released Aug 27, 2026, 34 days before disclosure).
- The latest release, 6.2.6, is not affected.
- 88% of basic-ftp downloads last week were affected versions (32.9M).

### [CVE-2026-44240](https://cve.now/CVE-2026-44240): basic-ftp allows a malicious FTP server to cause client-side denial of service via unbounded multiline control response buffering

- Severity: High 7.5
- Published: May 12, 2026
- Affected: fixed in 5.3.1.
- Fixed in 5.3.1 (released Apr 28, 2026, 14 days before disclosure).
- The latest release, 6.2.6, is not affected.
- 33% of basic-ftp downloads last week were affected versions (12.4M).

### [CVE-2026-41324](https://cve.now/CVE-2026-41324): basic-ftp vulnerable to denial of service via unbounded memory consumption in Client.list()

- Severity: High 7.5
- Published: Apr 24, 2026
- Affected: fixed in 5.3.0.
- Fixed in 5.3.0 (released Apr 15, 2026, 9 days before disclosure).
- The latest release, 6.2.6, is not affected.
- 32% of basic-ftp downloads last week were affected versions (11.8M).

### [CVE-2026-39983](https://cve.now/CVE-2026-39983): FTP Command Injection via CRLF in basic-ftp

- Severity: High 8.6
- Published: Apr 9, 2026
- Affected: from 5.2.0, fixed in 5.2.1.
- Fixed in 5.2.1 (released Apr 8, 2026, 1 day before disclosure).
- The latest release, 6.2.6, is not affected.
- 4.9% of basic-ftp downloads last week were affected versions (1.9M).

### [CVE-2026-27699](https://cve.now/CVE-2026-27699): Basic FTP has Path Traversal Vulnerability in its downloadToDir() method

- Severity: Critical 9.1
- Published: Feb 25, 2026
- Affected: fixed in 5.2.0.
- Fixed in 5.2.0 (released Feb 23, 2026, 2 days before disclosure).
- The latest release, 6.2.6, is not affected.
- 25% of basic-ftp downloads last week were affected versions (9.5M).

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/npm/basic-ftp
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
