CVE-2026-136613 in Inetutils
Summary
by MITRE • 11/25/2026
GNU Inetutils FTP Client File Retrieval Command Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GNU Inetutils FTP Client. User interaction is required to exploit this vulnerability in that the target must interact with a malicious FTP server.
The specific flaw exists within the processing of filenames. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-29119.
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Analysis
by VulDB Data Team • 11/25/2026
The GNU Inetutils FTP client contains a critical remote code execution vulnerability stemming from improper input validation within its filename processing logic. This flaw, historically tracked under Zero Day Initiative identifier ZDI-CAN-29119, allows an attacker to inject arbitrary commands into the system shell by manipulating filenames retrieved during standard FTP operations. The core technical deficiency lies in the application's failure to sanitize or escape user-supplied strings before passing them to underlying operating system functions that execute external programs. When a client connects to a maliciously configured FTP server, the server can return specially crafted directory listings or file names containing shell metacharacters such as semicolons, pipes, or backticks. Because the application treats these filenames as literal text rather than escaping their special meaning, they are interpreted by the host system's command interpreter during subsequent processing steps, leading to unintended execution of attacker-controlled code.
This vulnerability is classified under CWE-78 Improper Neutralization of Special Elements used in an OS Command, commonly known as OS Command Injection. The attack vector requires user interaction because the victim must initiate a connection to or browse directories on a malicious FTP server. Once connected, the exploitation process typically involves listing directory contents where the attacker has pre-planted filenames designed to trigger command execution when processed by the client software. For instance, if the application attempts to display file details or perform operations based on these names without proper escaping, the injected payload is executed with the privileges of the user running the FTP client. This represents a significant security risk as it bypasses network-level controls and relies on social engineering elements where users are tricked into connecting to untrusted servers.
From an operational perspective, successful exploitation grants remote attackers full control over the affected system within the context of the current user account. Depending on the configuration and permissions of that user, this could lead to complete compromise of the host machine, including access to sensitive data, installation of malware, or use as a pivot point for further network attacks. The impact is severe because it allows arbitrary code execution without requiring authentication credentials beyond those needed to connect to the FTP service itself. This aligns with MITRE ATT&CK techniques related to Command and Scripting Interpreter abuse, specifically where attackers leverage legitimate system utilities to execute malicious payloads.
Mitigation strategies primarily involve updating GNU Inetutils to a patched version that addresses this input validation flaw. Until an update is available or if the software cannot be updated, organizations should restrict FTP client usage to trusted servers only and avoid browsing directories on untrusted hosts. Additionally, implementing strict network segmentation can limit exposure by preventing internal systems from initiating outbound connections to potentially malicious external FTP services where possible. Security monitoring solutions may also detect anomalous process creation patterns associated with shell execution following file listing operations, although this is a secondary defense measure compared to patching the underlying vulnerability in the application code itself.