Vulnerability
CVE-2026-27699
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.
60 advisories report this vulnerability, across 6 ecosystems.
Advisories in Wolfi
- CGA-6phf-q6mc-2794
- CGA-fh54-7mwc-xm9x
- CGA-h727-7vgw-w7rq
- CGA-hc69-5647-f5rv
- CGA-hr3m-mw5x-qgxm
- CGA-w9cp-c6c7-f486