CVE-2026-27699Patrickjuchli Basic-ftp Path Traversal
NVDCVSS scored by security-advisories@github.com
Vulnerability Summary
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 v3.1 Base Metrics — Score 9.1 (CRITICAL)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:HAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityHigh
AvailabilityHigh
Affected & Patched Versions
- Patrickjuchli Basic-ftp < 5.2.0
- Patrickjuchli Basic-ftp 5.2.0
What to do
Prioritize this fix. Exploit code is public, so attacks can follow quickly.
- Check whether you run Patrickjuchli Basic-ftp and which version.
- Update to a patched version listed above, then confirm the new version.
- Review logs and exposed services for signs of earlier compromise.
Timeline
- Feb 25, 2026Published
- Feb 26, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Patrickjuchli Basic-ftp CVEsYou are reading CVE-2026-27699. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsRelated Coverage
External References
Data last checked: Nov 22, 2026 14:11 UTC