CVE-2026-27699
Last modified
CVE-2026-27699 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 0.53% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Patrickjuchli | Basic-Ftp | < 5.2.0 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-27699?
How severe is CVE-2026-27699?
How do I fix CVE-2026-27699?
Are you affected by CVE-2026-27699?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
