Intel

AIKIDO-2026-297310

suppaftp is vulnerable to Command Injection

Command InjectionGHSA-8mhj-xm4h-m5m6 Published Yesterday

59

Medium Risk

This Affects:

RUSTsuppaftp
0.0.1 - 10.0.1
Fixed in 10.0.2
Are you affected? Scan for Free

TL;DR

The suppaftp FTP client writes command arguments to the control channel without validating them. Arguments that contain carriage return or line feed characters can terminate the intended command and add additional FTP commands onto the authenticated control connection. Affected operations are login, cwd, mkdir/rmdir, rm, rename, retr, stor, appe, list, site, and custom_command across the sync, tokio, and smol clients. The fix validates every command line before transmission and rejects any line containing CR or LF characters.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application passes input into FTP command arguments.

Background info

suppaftp is vulnerable to Command Injection in versions 0.0.1 - 10.0.1.

How to fix this

Upgrade the suppaftp library to the patch version.