---
id: CVE-2026-71309
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. From 1.40.0 until 1.75.0, rclone serve
  restic does not correctly reject URL paths beginning with ../ in
  cmd/serve/restic/restic…
severity: high
cwe:
  - CWE-22
vendor: rclone
product: github.com/rclone/rclone
affected:
  - 'github.com/rclone/rclone >= 1.40.0, < 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-71309'
references:
  - url: >-
      https://github.com/rclone/rclone/commit/cc5a189f00efe68ed0ddb32d3237b42549a9f264
    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-45pq-889g-fcgh'
    label: security-advisories@github.com
  - url: 'https://github.com/rclone/rclone/security/advisories/GHSA-45pq-889g-fcgh'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://github.com/advisories/GHSA-45pq-889g-fcgh'
  - url: 'https://github.com/rclone/rclone'
tags:
  - nvd
  - ghsa
  - go
  - osv
epss: 0.00379
epssPercentile: 0.31785
aliases:
  - GHSA-45pq-889g-fcgh
  - BIT-rclone-2026-71309
  - GO-2026-6184
ecosystem: go
ingestedAt: '2026-08-05T20:51:28.111Z'
---

## Overview

rclone is a command-line program to sync files and directories to and from different cloud storage providers. From 1.40.0 until 1.75.0, rclone serve restic does not correctly reject URL paths beginning with ../ in cmd/serve/restic/restic.go WithRemote, which accepts a leading parent path and passes it to GET, HEAD, POST, and DELETE handlers for configured backends including WebDAV, FTP, HTTP, Memory, and SFTP. An attacker who can access the REST endpoint may read, create, overwrite, or delete objects outside the path configured by the operator when the operator publishes a backend subdirectory and the backend credential can access parent or sibling objects. 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-71309)

Affected packages:

- `github.com/rclone/rclone >= 1.40.0, < 1.75.0`

Patched in:

- `github.com/rclone/rclone 1.75.0`

Source: https://github.com/advisories/GHSA-45pq-889g-fcgh
