CVE-2026-27699
Plain English Summary
AI-powered analysis for quick understanding
This vulnerability allows an attacker to trick the FTP client into saving files outside of the intended download folder, potentially overwriting important system files. It occurs when the client connects to a malicious FTP server that sends specially crafted directory listings, and it affects versions prior to 5.2.0 of the basic-ftp library.
Technical Description
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.
CVSS Vector Analysis
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploit Resources
Search for proof-of-concept code and exploit modules
Official References
Quick Information
Published
Feb 25, 2026
about 1 month ago
Last Modified
Feb 26, 2026
about 1 month ago
Vendor
patrickjuchli
Product
basic-ftp