CVE-2026-71311 rclone: FTP Command Arguments Permit CRLF Injection When Custom Encoding Preserves Newlines
Attackers can inject FTP commands via crafted filenames when using non-default encoding, allowing unauthorized file deletion or modification on the destination server.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-71311?
CVE-2026-71311 is a medium-severity command injection vulnerability in rclone, published on 5 Aug 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-93
Which versions are affected by CVE-2026-71311?
4 open source packages ship an affected version, including github.com/rclone/rclone and rclone.
| Package | Affected | Fixed in |
|---|---|---|
github.com/rclone/rclone Go | All versions | 1.75.0 |
github.com/rclone/rclone Go | All versions | 1.75.0 |
github.com/rclone/rclone Go | All versions | 1.75.0 |
rclone Bitnami | All versions | 1.75.0 |
How do I fix CVE-2026-71311?
Upgrade github.com/rclone/rclone to 1.75.0 or later.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2026-71311 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-71311 exists.
Sources
Also known as BIT-rclone-2026-71311, DEBIAN-CVE-2026-71311, GHSA-8c48-q9wj-3w37, GO-2026-6187, MINI-2q9m-8xxp-v452, MINI-3wv6-8jhj-382v and 7 more.