VulnerabilityGLOBAL

CVE-2026-39983: basic-ftp is an FTP client for Node.js. Prior to 5.2.1, basic-ftp allows FTP command injection via CRLF sequences (\r\n)…

basic-ftp is an FTP client for Node.js. Prior to 5.2.1, basic-ftp allows FTP command injection via CRLF sequences (\r\n) in file path parameters passed to high-level path APIs such as cd(), remove(), rename(), uploadFrom(), downloadTo(), list(), and removeDir(). The library's protectWhitespace() helper only handles leading spaces and returns other paths unchanged, while FtpContext.send() writes the resulting command string directly to the control socket with \r\n appended. This lets attacker-controlled path strings split one intended FTP command into multiple commands. This vulnerability is fixed in 5.2.1.

Published by source
2026-04-09
First seen by Reality Radar
2026-10-27
Last verified
2026-10-27

Affected

Manufacturer
patrickjuchli
Products
basic-ftp
Versions
<5.2.1
CPE
cpe:2.3:a:patrickjuchli:basic-ftp:*:*:*:*:*:node.js:*:*

Whether your exact unit is affected depends on the model, serial number and region in the official notice.

What the official notice says

Risk: CVSS 8.6

Is this affecting you?

Add what you own or use and Reality Radar will tell you when official changes match it — with evidence and next steps.

Track it free

Sources

Evidence ledger

Every piece of evidence we store is appended to a public hash chain, so later edits are detectable. Anyone can re-verify it.

EntryKindObservedEvidence hashEntry hash
#2139new2026-10-2784a1ec72ab7e…bc39d66c14bb65a525…4196c6

Chain head: #2286 e212558e872c…954bc1

Raw ledger entries (JSON) · Verify chain

Share this signal