cve.bz

CVE-2026-27699

9.8 criticalEPSS 0.9%

Critical (9.8) in patrickjuchli basic-ftp. EPSS 0.9% chance of exploitation in the next 30 days. Fixed in basic-ftp 5.2.0.

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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.9% chance of exploitation in the next 30 days; higher than 60% of CVEs (scores of 2026-10-31)
CWE
CWE-22
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-5rq4-664w-9x2cnpmbasic-ftp<5.2.05.2.0

References

Check your stackJSON