CVE-2026-27699Patrickjuchli Basic-ftp
Critical 9.8 No auth needed
Follow: this CVE · Patrickjuchli · Patrickjuchli Basic-ftp We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Basic-ftp.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| patrickjuchli | basic-ftp | < 5.2.0 |
Official advisories
- agama-integration-tests-1785848065.5562c7c-4.1 on GA media · SUSE · openSUSE-SU-2026:11452-1 · Aug 5, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Release Notes
- github.com Exploit Mitigation Vendor Advisory