Path Traversal in Patrickjuchli Basic-Ftp

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.

Vulnerability class: Path Traversal (Directory Traversal)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H.

EPSS exploit prediction

EPSS: 0.010 (61.6th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 62nd percentile — 61.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-27699: held from 0.007 to 0.010.

EPSS over last 30 days · oldest: 0.007 · newest: 0.010 · change: +0.003

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-27699?
CVE-2026-27699 is a critical-severity vulnerability in Patrickjuchli Basic-Ftp, classified under Path Traversal. CVSS score: 9.1/10. Published 2026-02-25.
How severe is CVE-2026-27699?
Critical severity. CVSS v3 base score is 9.1 out of 10.