ADVISORIES

Debian Security Tracker

DEBIAN-CVE-2026-27699

Details

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.

Affected packages

EcosystemPackageAffected versions
Debian:13node-proxy-agents
All versions before 0~2024040606-6+deb13u1 (fixed in 0~2024040606-6+deb13u1)
Debian:14node-proxy-agents
All versions before 0~2025070717+~cs15.2.7-1 (fixed in 0~2025070717+~cs15.2.7-1)

References