Path traversal in basic-ftp - #VU168004

 

Path traversal in basic-ftp - #VU168004

Published: November 19, 2026


Vulnerability identifier: #VU168004
CSH Severity: Medium
CVSS v4: 7 [CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to write or overwrite files outside the intended local download directory.

The vulnerability exists due to path traversal in the basic-ftp downloadToDir() function when it validates server-supplied directory names without verifying that the resulting paths remain within the destination directory. A remote attacker can manipulate directory listings from a malicious or compromised FTP server, or tamper with unencrypted FTP traffic, to redirect a client's recursive download outside its intended destination.


Affected software

basic-ftp

Remediation

Install security update from vendor's website.

basic-ftp - update to 6.2.6

External References

Related Security Bulletins