All reports
Medium

lftp: particular remote file names may lead to current working directory erased

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2018-10916

Probability of exploitation in the next 30 days: 4.78%

FIRST EPSS · 2026-11-21

Description

It has been discovered that lftp up to and including version 4.8.3 does not properly sanitize remote file names, leading to a loss of integrity on the local system when reverse mirroring is used. A remote attacker may trick a user to use reverse mirroring on an attacker controlled FTP server, resulting in the removal of all files in the current working directory of the victim's system.

It has been discovered that lftp does not properly sanitize remote file names, leading to a loss of integrity on the local system when reverse mirroring is used. A remote attacker may trick a user to use reverse mirroring on an attacker-controlled FTP server, resulting in the removal of all files in the current working directory of the victim's system.