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.
CVSS 3.1CRITICAL 9.8·Network·No auth·No interaction·EPSS 0.00939·Published 2026-02-25·Fixed in 5.2.0CWE-22