Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/rclone/rclone
  4. ›
  5. CVE-2026-71311

CVE-2026-71311: rclone: FTP Command Arguments Permit CRLF Injection When Custom Encoding Preserves Newlines

August 5, 2026

A valid but nondefault FTP filename encoding can restore raw CR/LF immediately before an attacker-controlled path is interpolated into the line-oriented FTP control channel. The dependency does not reject CR or LF in command arguments, so a filename can inject an independent authenticated command. A real test server observed the injected DELE command.

The default FTP encoding and the configuration-wizard examples include Ctl and are not vulnerable to the demonstrated filename. A manual custom encoding that omits Ctl/CrLf is mandatory and is reflected as High attack complexity. The credible trust boundary is a lower-trust source namespace feeding a more-privileged FTP destination: if the attacker already has equivalent rights on that destination, the report establishes a bug but no privilege gain. Protocol framing must still be enforced at the command sink because a filename-compatibility encoder is not a safe substitute for command-argument validation.

References

  • github.com/advisories/GHSA-8c48-q9wj-3w37
  • github.com/rclone/rclone/commit/1df2b70753286c1dfe8366078cbedfdf7f96472c
  • github.com/rclone/rclone/releases/tag/v1.75.0
  • github.com/rclone/rclone/security/advisories/GHSA-8c48-q9wj-3w37
  • nvd.nist.gov/vuln/detail/CVE-2026-71311

Code Behaviors & Features

Detect and mitigate CVE-2026-71311 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.75.0

Fixed versions

  • 1.75.0

Solution

Upgrade to version 1.75.0 or above.

Impact 6.4 MEDIUM

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

Learn more about CVSS

Weakness

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

Source file

go/github.com/rclone/rclone/CVE-2026-71311.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:18:29 +0000.