Live threats

All CVEs / Patrickjuchli

CVE-2026-27699Patrickjuchli Basic-ftp

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
—
Auth required
No
Published
Feb 25, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Basic-ftp.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm basic-ftp < 5.2.0 5.2.0 npm install basic-ftp@5.2.0

Per OSV / GitHub Advisories (GHSA-5rq4-664w-9x2c). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
patrickjuchlibasic-ftp< 5.2.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.