#VU125737 CRLF injection in basic-ftp - CVE-2026-39983
Published: April 9, 2026
basic-ftp
patrickjuchli
Description
The vulnerability allows a remote attacker to inject arbitrary FTP commands.
The vulnerability exists due to improper neutralization of CRLF sequences in high-level path APIs in dist/Client.js and FtpContext.send() when processing attacker-controlled file path parameters. A remote attacker can supply a specially crafted path containing CRLF sequences to inject arbitrary FTP commands.
The issue affects methods such as cd(), remove(), rename(), uploadFrom(), downloadTo(), list(), and removeDir().