CVE-2026-27699

Critical
|9.8
No Exploit

Plain English Summary

AI-powered analysis for quick understanding

This vulnerability allows an attacker to trick the FTP client into saving files outside of the intended download folder, potentially overwriting important system files. It occurs when the client connects to a malicious FTP server that sends specially crafted directory listings, and it affects versions prior to 5.2.0 of the basic-ftp library.

Technical 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.

CVSS Vector Analysis

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
Confidentiality ImpactHigh
Integrity ImpactHigh
Availability ImpactHigh
ScopeUnchanged

Vector String

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploit Resources

Search for proof-of-concept code and exploit modules

Official References

Est. Bounty
$13,000($5K-$15K)
Vendor Response
Grade APatched in 1 day

Quick Information

Published

Feb 25, 2026

about 1 month ago

Last Modified

Feb 26, 2026

about 1 month ago

Vendor

patrickjuchli

Product

basic-ftp