CVE-2026-71311 PUBLISHED

rclone: FTP Command Arguments Permit CRLF Injection When Custom Encoding Preserves Newlines

Assigner: GitHub_M
Reserved: 05.08.2026 Published: 05.08.2026 Updated: 05.08.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:H
CVSS Score: 6.4

Product Status

Vendor rclone
Product rclone
Versions
  • Version < 1.75.0 is affected

References

Problem Types

  • CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection') CWE