CVE-2026-27699

CRITICAL

basic-ftp <5.2.0 - Path Traversal

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 9.1
EPSS 0.0015
EPSS Percentile 35.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact total

Details

CWE
CWE-22
Status published
Products (2)
npm/basic-ftp 0 - 5.2.0npm
patrickjuchli/basic-ftp < 5.2.0
Published Feb 25, 2026
Tracked Since Feb 25, 2026