basic-ftp: Uncaught TypeError
Affects basic-ftpSource GCVE Database
Not known to be exploited · CVSS 5.3 Medium : upgrade to 6.2.4 when convenient.
Data as of 12 Nov 2026, 22:23 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 5.3 |
|---|
- Patch
- Available – fixed in 6.2.4
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LExploitation evidence
Disclosed: evidence found.
CVE published 12 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 12 Nov 2026.
What to do
Upgrade basic-ftp to 6.2.4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmbasic-ftp | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in basic-ftp version 6.2.4 that addresses this issue. Users should upgrade to version 6.2.4 or later. Until upgraded, applications should wrap all calls to Client.list() and related APIs in try/catch blocks to handle potential promise rejections and prevent process crashes. Avoid using basic-ftp over plaintext FTP connections or ensure directory listing inputs are sanitized if possible.
Description
basic-ftp versions prior to 6.2.4 contain a vulnerability in the MLSD directory-listing parser where an unvalidated fact name "__proto__" causes a TypeError. This error is not caught by the client's retry logic and results in an unhandled promise rejection that can crash the Node.js process. The issue arises because the parser uses a plain object literal keyed by untrusted server input, allowing prototype pollution-like behavior. Any FTP server or attacker on a plaintext FTP session can trigger this denial of service by sending a crafted directory listing line.
References
- github.com/patrickjuchli/basic-ftp/security/advisories/GHSA-5pm8-86m8-9m6r (opens in a new tab)
- github.com/patrickjuchli/basic-ftp/commit/a22664a45d889f7d281e5bdd212c68c0a58d0ae6 (opens in a new tab)
- github.com/patrickjuchli/basic-ftp (opens in a new tab)
- github.com/patrickjuchli/basic-ftp/releases/tag/v6.2.4 (opens in a new tab)