This site currently shows sample data for demonstration.

Vulnerabilities

CVE-2026-39983 | BDVDB-2026-326172 Detail

patrickjuchlibasic-ftp

Description#

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.

Impact#

Per CVSS v3.1: confidentiality impact low, integrity impact high, availability impact low. Attack vector: network.

Weaknesses#

  • CWE-93 Improper Neutralization of CRLF Sequences ('CRLF Injection')

References#

Exploit#

No public exploit known

History#

  1. Version 1Record published in the CVE List.
  2. Version 2Most recent update recorded in the CVE List.