Skip to content
RCE Advisory Intermediate CVE-2026-136613

(0Day) GNU Inetutils FTP Client File Retrieval Command Injection Remote Code Execution Vulnerability

The GNU Inetutils FTP client fails to validate filenames received from a server before using them in a system call. A malicious FTP server can therefore cause the client to execute arbitrary commands as the user running it.

Peikai Li Follow

Originally disclosed on Zero Day Initiative

High 7.5 View original

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.

Peikai Li, on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely, the client passes a server-supplied filename directly into a shell or system call without sanitising it, so shell metacharacters in the name are interpreted as commands.

Impact

A remote attacker operating a malicious FTP server could execute arbitrary code in the context of the user running the client, though the victim must first connect to that server.

What the attacker needed

Victim connects to a malicious FTP server; user interaction with the server

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

An FTP client is a program that downloads files from a server. This client took a file name from the server and passed it to a system command without checking it, so a hostile server could slip in extra commands. The attacker needs the victim to connect to their server, but then can run code on the victim's computer.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.