Vulnerability
CVE-2026-71311
rclone is a command-line program to sync files and directories to and from different cloud storage providers. Prior to 1.75.0, a valid but nondefault FTP filename encoding in backend/ftp/ftp.go can restore raw CR/LF immediately before an attacker-controlled path is interpolated into the line-oriented FTP control channel, and github.com/jlaffaye/ftp formats the argument through textproto.Conn.Cmd without rejecting CR or LF, allowing a filename such as victim CRLF DELE other-secret CRLF NOOP to inject an independent authenticated FTP command when the victim copies or syncs to a more-privileged FTP destination. This issue is fixed in 1.75.0.
16 advisories report this vulnerability, across 7 ecosystems.
Advisories in Go
-
GHSA-8c48-q9wj-3w37
rclone: FTP Command Arguments Permit CRLF Injection When Custom Encoding Preserves Newlines
-
GO-2026-6187
FTP command injection via custom encoding in github.com/rclone/rclone