Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-39983— FTP Command Injection via CRLF in basic-ftp

Quick assessment

Affected
patrickjuchli basic-ftp
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Basic FTP是Patrick Juchli个人开发者的一个Node.js的FTP客户端库。 Basic FTP 5.2.1之前版本存在安全漏洞,该漏洞源于文件路径参数中可能包含CRLF序列,可能导致FTP命令注入攻击。

CVSS 8.6 · High EPSS 2.19% · P81

Affected Version Matrix 1

VendorProduct Version RangeStatus
patrickjuchli basic-ftp < 5.2.1 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-39983

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
FTP Command Injection via CRLF in basic-ftp
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
对CRLF序列的转义处理不恰当(CRLF注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Basic FTP 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Basic FTP是Patrick Juchli个人开发者的一个Node.js的FTP客户端库。 Basic FTP 5.2.1之前版本存在安全漏洞,该漏洞源于文件路径参数中可能包含CRLF序列,可能导致FTP命令注入攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
patrickjuchli basic-ftp < 5.2.1 -

II. Public POCs for CVE-2026-39983

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 7816 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-39983

登录查看更多情报信息。

Vendor Advisories for CVE-2026-39983 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-39983

No comments yet


Leave a comment