UBUNTU-CVE-2026-129121: Path Traversal
C-Kermit 8.0.200 before 11.1.515 contains a path traversal vulnerability in doftpget() in ckcftp.c that allows malicious FTP servers to write files outside the intended directory. Attackers can return absolute paths, tilde names, or dot-dot components in NLST or MLSD listings during MGET /RECURSIVE to overwrite files like .bashrc, leading to code execution.
Affected Software
Event History
Frequently Asked Questions
When is an Ubuntu system exposed to this issue?
Exposure requires C-Kermit to connect to a malicious or compromised FTP server and perform an MGET or RECURSIVE transfer. The server must be able to supply crafted NLST or MLSD directory-listing entries.
What does successful exploitation allow?
A malicious FTP server can cause files to be written outside C-Kermit's intended download directory using absolute paths, tilde names, or dot-dot path components. Overwriting a file such as .bashrc can lead to code execution when that file is later used.
Which C-Kermit versions are affected?
C-Kermit versions from 8.0.200 before 11.1.515 are affected. Systems using a version before 11.1.515 should be treated as vulnerable when they use the affected FTP transfer modes.