CVE-2026-27699
published critical CVSS 3.1 · 9.1Basic FTP has Path Traversal Vulnerability in its downloadToDir() method
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| patrickjuchli | — | basic-ftp< 5.2.0 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-integration-testsaarch64 | Advisory build | 1785848065.5562c7c-4.1 | OPENSUSE-SU-2026:11452-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-integration-testsppc64le | Advisory build | 1785848065.5562c7c-4.1 | OPENSUSE-SU-2026:11452-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-integration-testss390x | Advisory build | 1785848065.5562c7c-4.1 | OPENSUSE-SU-2026:11452-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-integration-testsx86_64 | Advisory build | 1785848065.5562c7c-4.1 | OPENSUSE-SU-2026:11452-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.1 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| patrickjuchli | basic-ftp | < 5.2.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
3Provider assertions
2GitHub_M · cna
Basic FTP has Path Traversal Vulnerability in its downloadToDir() method
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e805fb439d98ae3fb7c412b39d86a18f48e21bc9d5462a6407c5343b84108283
- Ingested
- 23 Sep 2026, 09:07:41 UTC
- Source record
- Official CVE record