Vulnerabilities / CVE-2026-27699

critical

CVE-2026-27699

basic-ftp: basic-ftp: File overwrite due to path traversal

Published Modified CWE 22
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Red Hat7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Red Hat (high).

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.

Affected packages and fixed versions

SourcePackageFixed in
npm::GitHub Security Advisory npmbasic-ftp5.2.0
chainguardcode-server, kibana-8.17, kibana-8.19 and 12 more4.106.3-r6 and 12 more
debian 13node-proxy-agents0~2024040606-6+deb13u1
debian 14node-proxy-agents0~2025070717+~cs15.2.7-1
echonode-proxy-agents0~2024040606-6+deb13u1
echo npm::Echo OSVbasic-ftp5.2.0
minimoskibana-8.19, kibana-9.2, kibana-9.3 and 3 more8.19.13-r0 and 5 more
rapidfort debian 12node-proxy-agents0:0~2024040606-6+deb13u1, 0:0~2025070717+~cs15.2.7-1
rapidfort debian 13node-proxy-agents0:0~2024040606-6+deb13u1, 0:0~2025070717+~cs15.2.7-1
wolficode-server, langfuse-3, opensearch-dashboards-34.106.3-r6 and 2 more
Show all 31 entries from 10 sources
SourcePackageFixed in
npm::GitHub Security Advisory npmbasic-ftp5.2.0
chainguardcode-server4.106.3-r6
chainguardkibana-8.178.17.10-r11
chainguardkibana-8.198.19.12-r1
chainguardkibana-9.09.0.8-r11
chainguardkibana-9.19.1.10-r6
chainguardkibana-9.29.2.5-r5
chainguardkibana-9.39.3.0-r2
chainguardlangfuse-22.95.12-r12
chainguardlangfuse-33.155.1-r3
chainguardlangfuse-fips-22.95.12-r15
chainguardlangfuse-fips-33.155.1-r3
chainguardopensearch-dashboards-22.19.4-r12
chainguardopensearch-dashboards-2-fips2.19.4-r12
chainguardopensearch-dashboards-33.5.0-r4
chainguardopensearch-dashboards-3-fips3.5.0-r2
debian 13node-proxy-agents0~2024040606-6+deb13u1
debian 14node-proxy-agents0~2025070717+~cs15.2.7-1
echonode-proxy-agents0~2024040606-6+deb13u1
echo npm::Echo OSVbasic-ftp5.2.0
minimoskibana-8.198.19.13-r0
minimoskibana-9.29.2.7-r0
minimoskibana-9.39.3.2-r1
minimosnginx-proxy-manager-22.14.0-r1
minimosopenclaw2026.2.24-r0
minimostrigger-dev4.5.0-r0
rapidfort debian 12node-proxy-agents0:0~2024040606-6+deb13u1, 0:0~2025070717+~cs15.2.7-1
rapidfort debian 13node-proxy-agents0:0~2024040606-6+deb13u1, 0:0~2025070717+~cs15.2.7-1
wolficode-server4.106.3-r6
wolfilangfuse-33.155.1-r3
wolfiopensearch-dashboards-33.5.0-r4

References

All 9 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.