CVE-2026-27699
Basic FTP has Path Traversal Vulnerability in its downloadToDir() method
9.1
CRITICAL
CVSS 3.1
EPSS 0.15%
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.
How to fix CVE-2026-27699
To remediate CVE-2026-27699, upgrade the affected package to a fixed version below.
- —upgrade to 0~2024040606-6+deb13u1 or later
- —upgrade to 5.2.0 or later
Is CVE-2026-27699 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 0~2024040606-6+deb13u1
- from 0, < 5.2.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |