Ad

CVE-2026-27699

CRITICAL CVSS 3.1: 9.8 EPSS 0.15%
Updated Feb 26, 2026
Patrickjuchli
Parameter Value
CVSS 9.8 (CRITICAL)
Affected Versions before 5.2.0
Fixed In 5.2.0
Type CWE-22 (Path Traversal)
Vendor Patrickjuchli
Public PoC No

The `basic-ftp` FTP client library for Node.js contains a path traversal vulnerability (CWE-22) in versions prior to 5.2.0 in the `downloadToDir()` method. A malicious FTP server can send directory listings with filenames containing path traversal sequences (`../`) that cause files to be written outside the intended download directory. Version 5.2.0 patches the issue.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Patrickjuchli Basic-Ftp
cpe:2.3:a:patrickjuchli:basic-ftp:*:*:*:*:*:node.js:*:*
5.2.0