CVE-2026-39983 — CRLF Injection in Basic-ftp
Severity
8.6HIGHNVD
EPSS
7.0%
top 8.52%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedApr 9
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-con…
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:LExploitability: 3.9 | Impact: 4.7
Affected Packages2 packages
🔴Vulnerability Details
3📋Vendor Advisories
1Red Hat
▶
🕵️Threat Intelligence
82💬Community
1Bugzilla▶
CVE-2026-39983 basic-ftp: basic-ftp: Command injection via CRLF sequences in file path parameters↗2026-04-09