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 over last 30 days · oldest: 0.007 · newest: 0.010 · change: +0.003
Affected products
- Patrickjuchli Basic-Ftp — versions < 5.2.0
Weakness classification (CWE)
References
- github.com/patrickjuchli/basic-ftp/security/advisories/GHSA-5rq4-664w-9x2c (Exploit, Mitigation, Vendor Advisory)
- github.com/patrickjuchli/basic-ftp/commit/2a2a0e6514357b9eda07c2f8afbd3f04727a7… (Patch)
- github.com/patrickjuchli/basic-ftp/releases/tag/v5.2.0 (Release Notes)
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.