CVE-2026-39983 | patrickjuchli basic-ftp up to 5.2.0 path crlf injection
VulDBArchived Apr 09, 2026✓ Full text saved
A vulnerability described as problematic has been identified in patrickjuchli basic-ftp up to 5.2.0 . This vulnerability affects the function cd/remove/rename/uploadFrom/downloadTo/list/removeDir . The manipulation of the argument path results in crlf injection. This vulnerability is cataloged as CVE-2026-39983 . The attack may be launched remotely. There is no exploit available. Upgrading the affected component is recommended.
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-356635 · CVE-2026-39983 · GCVE-0-2026-39983
PATRICKJUCHLI BASIC-FTP UP TO 5.2.0 PATH CRLF INJECTION
HISTORYDIFFRELATEJSONXMLCTI
CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score
7.8 $0-$5k 1.39+
Summaryinfo
A vulnerability classified as problematic has been found in patrickjuchli basic-ftp up to 5.2.0. This issue affects the function cd/remove/rename/uploadFrom/downloadTo/list/removeDir. This manipulation of the argument path causes crlf injection. This vulnerability is registered as CVE-2026-39983. Remote exploitation of the attack is possible. No exploit is available. It is recommended to upgrade the affected component.
Detailsinfo
A vulnerability classified as critical was found in patrickjuchli basic-ftp up to 5.2.0. Affected by this vulnerability is the function cd/remove/rename/uploadFrom/downloadTo/list/removeDir. The manipulation of the argument path with an unknown input leads to a crlf injection vulnerability. The CWE definition for the vulnerability is CWE-93. The product uses CRLF (carriage return line feeds) as a special element, e.g. to separate lines or records, but it does not neutralize or incorrectly neutralizes CRLF sequences from inputs. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
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.
It is possible to read the advisory at github.com. This vulnerability is known as CVE-2026-39983 since 04/08/2026. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details of the vulnerability are known, but there is no available exploit.
Upgrading to version 5.2.1 eliminates this vulnerability.
Productinfo
Vendor
patrickjuchli
Name
basic-ftp
Version
5.0
5.1
5.2.0
Website
Product: https://github.com/patrickjuchli/basic-ftp/
CPE 2.3info
🔒
🔒
🔒
CPE 2.2info
🔒
🔒
🔒
CVSSv4info
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv3info
VulDB Meta Base Score: 7.9
VulDB Meta Temp Score: 7.8
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 8.6
CNA Vector (GitHub_M): 🔒
CVSSv2info
Vector Complexity Authentication Confidentiality Integrity Availability
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploitinginfo
Class: Crlf injection
CWE: CWE-93 / CWE-74 / CWE-707
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day Unlock Unlock Unlock Unlock
Today Unlock Unlock Unlock Unlock
Threat Intelligenceinfo
Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
Countermeasuresinfo
Recommended: Upgrade
Status: 🔍
0-Day Time: 🔒
Upgrade: basic-ftp 5.2.1
Timelineinfo
04/08/2026 CVE reserved
04/09/2026 +1 days Advisory disclosed
04/09/2026 +0 days VulDB entry created
04/09/2026 +0 days VulDB entry last update
Sourcesinfo
Product: github.com
Advisory: github.com
Status: Confirmed
CVE: CVE-2026-39983 (🔒)
GCVE (CVE): GCVE-0-2026-39983
GCVE (VulDB): GCVE-100-356635
Entryinfo
Created: 04/09/2026 19:52
Changes: 04/09/2026 19:52 (65)
Complete: 🔍
Cache ID: 99:11F:101
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸