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.
Published: 2026-08-05
Score: 6.4 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw in the rclone FTP backend allows an attacker to craft a filename that contains CR and LF characters. When this filename is used with a nondefault FTP encoding, the data is forwarded to the FTP control channel unchanged, creating a secondary FTP command. This injection can execute commands such as DELE or NOOP under the credentials of the user running rclone, potentially leading to unauthorized file deletion, data loss, or disruption of the target FTP server. The weakness is a command injection identified as CWE‑93, and it is rated with a CVSS score of 6.4.

Affected Systems

The vulnerability affects the rclone command‑line program from the rclone project. Any installation of rclone prior to version 1.75.0 that enables a custom FTP filename encoding is susceptible. The specific product is the rclone binary used for syncing files to or from FTP services.

Risk and Exploitability

The CVSS score of 6.4 places this issue in the medium severity range. No EPSS data is available and the vulnerability is not listed in CISA KEV, indicating that it is not yet widely exploited. The attack likely requires an attacker to supply a specially crafted filename during a sync or copy operation to a remote FTP destination that is being accessed with elevated privileges. Once the command is sent, the attacker can leverage the remote FTP session to perform additional operations within the context of the account used by rclone. Because the flaw resides in command argument construction, the attack vector is local to the system running rclone, but results in impact on a remote FTP server.

Generated by OpenCVE AI on August 5, 2026 at 21:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade rclone to version 1.75.0 or newer, which removes the CR/LF injection handling.
  • If upgrading is not immediately possible, disable custom FTP filename encoding in rclone's configuration to avoid preserving newlines in the command arguments.
  • Monitor the FTP server logs for unexpected command sequences and restrict FTP account permissions to minimize potential damage from injection attempts.

Generated by OpenCVE AI on August 5, 2026 at 21:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-8c48-q9wj-3w37 rclone: FTP Command Arguments Permit CRLF Injection When Custom Encoding Preserves Newlines
History

Wed, 05 Aug 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Rclone
Rclone rclone
Vendors & Products Rclone
Rclone rclone

Wed, 05 Aug 2026 20:45:00 +0000

Type Values Removed Values Added
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.
Title rclone: FTP Command Arguments Permit CRLF Injection When Custom Encoding Preserves Newlines
Weaknesses CWE-93
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-05T20:33:32.558Z

Reserved: 2026-08-05T18:14:42.064Z

Link: CVE-2026-71311

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T21:30:16Z

Weaknesses
  • CWE-93

    Improper Neutralization of CRLF Sequences ('CRLF Injection')