Skip to main content
CVE-2026-126345VulnerabilityPublished

basic-ftp: Uncaught TypeError

Affects basic-ftpSource GCVE Database

0
Compare
Authoritative record:CVE-2026-126345· Medium 5.3

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

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.15.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:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
npmbasic-ftpAffected
  • <6.2.4
Fixed in
  • 6.2.4

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

Community reviews

Loading reviews…