Critical severity9.1NVD Advisory· Published Feb 25, 2026· Updated Jun 17, 2026
CVE-2026-27699
CVE-2026-27699
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
basic-ftpnpm | < 5.2.0 | 5.2.0 |
Affected products
31cpe:2.3:a:patrickjuchli:basic-ftp:*:*:*:*:*:node.js:*:*+ 1 more
- cpe:2.3:a:patrickjuchli:basic-ftp:*:*:*:*:*:node.js:*:*range: <5.2.0
- (no CPE)range: < 5.2.0
- osv-coords29 versionspkg:apk/chainguard/code-serverpkg:apk/chainguard/kibana-8.17pkg:apk/chainguard/kibana-8.17-iamguardedpkg:apk/chainguard/kibana-8.19pkg:apk/chainguard/kibana-8.19-bitnamipkg:apk/chainguard/kibana-8.19-iamguardedpkg:apk/chainguard/kibana-9.0pkg:apk/chainguard/kibana-9.0-bitnamipkg:apk/chainguard/kibana-9.0-iamguardedpkg:apk/chainguard/kibana-9.1pkg:apk/chainguard/kibana-9.1-iamguardedpkg:apk/chainguard/kibana-9.2pkg:apk/chainguard/kibana-9.2-iamguardedpkg:apk/chainguard/kibana-9.3pkg:apk/chainguard/kibana-9.3-iamguardedpkg:apk/chainguard/langfuse-2-workerpkg:apk/chainguard/langfuse-3-workerpkg:apk/chainguard/langfuse-fips-2-workerpkg:apk/chainguard/langfuse-fips-3-workerpkg:apk/chainguard/opensearch-dashboards-2-fips-security-dashboards-pluginpkg:apk/chainguard/opensearch-dashboards-2-security-dashboards-pluginpkg:apk/chainguard/opensearch-dashboards-3-fips-security-dashboards-pluginpkg:apk/chainguard/opensearch-dashboards-3-security-dashboards-pluginpkg:apk/wolfi/code-serverpkg:apk/wolfi/langfuse-3-workerpkg:apk/wolfi/opensearch-dashboards-2-security-dashboards-pluginpkg:apk/wolfi/opensearch-dashboards-3-security-dashboards-pluginpkg:npm/basic-ftppkg:rpm/opensuse/agama-integration-tests&distro=openSUSE%20Tumbleweed
< 4.106.3-r6+ 28 more
- (no CPE)range: < 4.106.3-r6
- (no CPE)range: < 8.17.10-r11
- (no CPE)range: < 8.17.10-r11
- (no CPE)range: < 8.19.12-r1
- (no CPE)range: < 8.19.12-r1
- (no CPE)range: < 8.19.12-r1
- (no CPE)range: < 9.0.8-r11
- (no CPE)range: < 9.0.8-r11
- (no CPE)range: < 9.0.8-r11
- (no CPE)range: < 9.1.10-r6
- (no CPE)range: < 9.1.10-r6
- (no CPE)range: < 9.2.5-r5
- (no CPE)range: < 9.2.5-r5
- (no CPE)range: < 9.3.0-r2
- (no CPE)range: < 9.3.0-r2
- (no CPE)range: < 2.95.12-r12
- (no CPE)range: < 3.155.1-r3
- (no CPE)range: < 2.95.12-r15
- (no CPE)range: < 3.155.1-r3
- (no CPE)range: < 2.19.4-r12
- (no CPE)range: < 2.19.4-r12
- (no CPE)range: < 3.5.0-r2
- (no CPE)range: < 3.5.0-r4
- (no CPE)range: < 4.106.3-r6
- (no CPE)range: < 3.155.1-r3
- (no CPE)range: < 2.19.4-r12
- (no CPE)range: < 3.5.0-r4
- (no CPE)range: < 5.2.0
- (no CPE)range: < 1785848065.5562c7c-4.1
Patches
Vulnerability mechanics
References
5- github.com/patrickjuchli/basic-ftp/commit/2a2a0e6514357b9eda07c2f8afbd3f04727a7cd9nvdPatchWEB
- github.com/patrickjuchli/basic-ftp/security/advisories/GHSA-5rq4-664w-9x2cnvdExploitMitigationVendor AdvisoryWEB
- github.com/advisories/GHSA-5rq4-664w-9x2cghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-27699ghsaADVISORY
- github.com/patrickjuchli/basic-ftp/releases/tag/v5.2.0nvdRelease NotesWEB
News mentions
0No linked articles in our index yet.