HarborGuard / CVE
Back to search
CRITICALCVE-2026-27699Published Modified CNA GitHub_M

CVE-2026-27699: Basic FTP has Path Traversal Vulnerability in its downloadToDir() method

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 v3.1
9.1
Severity
CRITICAL
Fixed in
Affected Products
1
Affected packages
  • patrickjuchli / basic-ftp
    < 5.2.0
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H