---
id: CVE-2026-71311
title: >-
  rclone is a command-line program to sync files and directories to and from
  different cloud storage providers
summary: >-
  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…
severity: medium
cvss: 6.4
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:H'
cwe:
  - CWE-93
vendor: rclone
product: github.com/rclone/rclone
affected:
  - github.com/rclone/rclone < 1.75.0
patched:
  - github.com/rclone/rclone 1.75.0
published: '2026-08-05'
updated: '2026-09-09'
sourceUpdated: '2026-09-09T20:50:00.950'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-71311'
references:
  - url: >-
      https://github.com/rclone/rclone/commit/1df2b70753286c1dfe8366078cbedfdf7f96472c
    label: security-advisories@github.com
  - url: 'https://github.com/rclone/rclone/releases/tag/v1.75.0'
    label: security-advisories@github.com
  - url: 'https://github.com/rclone/rclone/security/advisories/GHSA-8c48-q9wj-3w37'
    label: security-advisories@github.com
  - url: 'https://github.com/rclone/rclone/security/advisories/GHSA-8c48-q9wj-3w37'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://github.com/advisories/GHSA-8c48-q9wj-3w37'
tags:
  - nvd
  - ghsa
  - go
epss: 0.00391
epssPercentile: 0.30478
aliases:
  - GHSA-8c48-q9wj-3w37
ecosystem: go
ingestedAt: '2026-08-05T20:51:27.928Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-71311)

Affected packages:

- `github.com/rclone/rclone < 1.75.0`

Patched in:

- `github.com/rclone/rclone 1.75.0`

Source: https://github.com/advisories/GHSA-8c48-q9wj-3w37
