CVE-2026-27699
Basic FTP has Path Traversal Vulnerability in its downloadToDir() method
CVSS Score
9.1
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-22 |
| Vendor | patrickjuchli |
| Product | basic-ftp |
| Published | Feb 25, 2026 |
| Last Updated | Feb 27, 2026 |
Stay Ahead of the Next One
Get instant alerts for patrickjuchli basic-ftp
Be the first to know when new critical vulnerabilities affecting patrickjuchli basic-ftp are published — delivered to Slack, Telegram or Discord.
Get Free Alerts →
Free · No credit card · 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High
Affected Versions
patrickjuchli / basic-ftp
< 5.2.0