basic-ftp is an FTP client for Node.js. Prior to 6.2.3, FTPContext.send() throws when a command contains…
Historical advisory recorded 14 Nov 2026 23:23:18 UTC. Read the latest advisory.
nvd · CVE-2026-126346
Publishedbasic-ftp is an FTP client for Node.js. Prior to 6.2.3, FTPContext.send() throws when a command contains carriage return, line feed, or NUL characters, but calls made from response handlers execute synchronously inside the control socket's data event without an exception boundary. In Client.login(), an attacker-influenced password reaches the PASS command after a server sends a 331 response, and in a resumed download an attacker-influenced remote path reaches the RETR command after a 350 response to REST. The resulting exception does not reject client.access() or downloadTo(), escapes ordinary promise error handling, and terminates the Node.js process, while the validation guard still prevents command injection. This issue is fixed in version 6.2.3.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2026-126346
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-755
Original publisher date fields
published: 2026-11-12T22:19:19.607
lastModified: 2026-11-13T17:17:25.167
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