basic-ftp is an FTP client for Node.js. Prior to 6.2.4, the MLSD directory-listing parser in…
Historical advisory recorded 14 Nov 2026 23:32:34 UTC. Read the latest advisory.
nvd · CVE-2026-126345
Publishedbasic-ftp is an FTP client for Node.js. Prior to 6.2.4, the MLSD directory-listing parser in src/parseListMLSD.ts uses untrusted fact names from the FTP server as keys in the plain-object factHandlersByName dictionary without checking that the resolved property is an own handler. A fact named __proto__ therefore resolves to Object.prototype, bypasses the missing-handler guard, and is called as though it were a function, producing a TypeError. The error propagates through Client.list() and APIs that depend on it because it is not an FTPError. A malicious or compromised FTP server, or an on-path attacker on a plaintext FTP session, can make the affected operation reject, and the Node.js process terminates under the default behavior in Node.js 15 and later only if the application leaves that rejection unhandled. This issue is fixed in version 6.2.4.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2026-126345
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Deferred
Weakness classifications: CWE-248 · CWE-1321
Original publisher date fields
published: 2026-11-12T22:19:19.447
lastModified: 2026-11-12T22:19:19.570
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON