Vulnerability record · CVE-2026-27699 · published 25 February 2026
CVE-2026-27699: Patrickjuchli basic-ftp path traversal vulnerability
Patrickjuchli · Basic Ftp
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.
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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/patrickjuchli/basic-ftp/commit/2a2a0e6514357b9eda07c2f8afbd3f04727a7cd9 | Patch |
| https://github.com/patrickjuchli/basic-ftp/releases/tag/v5.2.0 | Release Notes |
| https://github.com/patrickjuchli/basic-ftp/security/advisories/GHSA-5rq4-664w-9x2c | ExploitMitigationVendor Advisory |
Track CVE-2026-27699 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2026-27699), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.