rclone: Incomplete path validation allows backend root escape in serve restic
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-71309
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 01:15 UTC · Revision 1
Source evidence
rclone: Incomplete path validation allows backend root escape in serve restic
core-osv · Original sourcePublished 5 Aug 2026, 20:13 UTC
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.
osv:CVE-2026-71309
Complete source record
{
"id": "38bf6c4146067657677a3edeca3ee7d00ce7df2410b1bdd823885ff38feff9da",
"url": "https://osv.dev/vulnerability/CVE-2026-71309",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "rclone: Incomplete path validation allows backend root escape in serve restic",
"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.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.",
"evidence": "osv:CVE-2026-71309",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-71309",
"aliases": [
"BIT-rclone-2026-71309",
"CVE-2026-71309",
"GHSA-45pq-889g-fcgh",
"GO-2026-6184"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/rclone/rclone",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "9ee9d0a0cafd5e5fe3b271d2280b090ab6e64048"
},
{
"fixed": "cc5a189f00efe68ed0ddb32d3237b42549a9f264"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "1.40.0"
},
{
"fixed": "1.75.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "cc5a189f00efe68ed0ddb32d3237b42549a9f264"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "9ee9d0a0cafd5e5fe3b271d2280b090ab6e64048"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v1.75.0"
}
]
}
}
],
"versions": [
"v1.74.0",
"v1.73.0",
"v1.72.0",
"v1.71.0",
"v1.70.0",
"v1.69.0",
"v1.68.0",
"v1.67.0",
"v1.66.0",
"v1.65.0",
"v1.64.0",
"v1.63.0",
"v1.62.0",
"v1.61.0",
"v1.60.0",
"v1.59.0",
"v1.58.0",
"v1.57.0",
"v1.56.0",
"v1.55.0",
"v1.54.0",
"v1.53.0",
"v1.52.0",
"v1.51.0",
"v1.50.0",
"v1.49.0",
"v1.48.0",
"v1.47.0",
"v1.46.0",
"v1.46",
"v1.45",
"v1.44",
"v1.43",
"v1.42",
"v1.41",
"v1.40",
"v1.39",
"v1.38",
"v1.37",
"v1.36",
"v1.35",
"v1.34",
"v1.33",
"v1.32",
"v1.31",
"v1.30",
"v1.29-1-gbb75d80",
"v1.29",
"v1.28",
"v1.27",
"v1.26",
"v1.25",
"v1.24",
"v1.23",
"v1.22",
"v1.21",
"v1.20",
"v1.19",
"v1.18",
"v1.17",
"v1.16",
"v1.15",
"v1.14",
"v1.13",
"v1.12",
"v1.11",
"v1.10",
"v1.09",
"v1.08",
"v1.07",
"v1.06",
"v1.05",
"v1.04",
"v1.03",
"v1.01",
"v1.00",
"v0.99",
"v0.98",
"v0.97",
"v0.96",
"v0.95",
"v0.94",
"v0.93",
"v0.92",
"v0.91",
"v0.90"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-71309.json"
}
}
],
"modified": "2026-10-28T02:30:24.760652591Z",
"provider": "osv",
"references": [
"https://github.com/rclone/rclone/releases/tag/v1.75.0",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71309.json",
"https://github.com/rclone/rclone/security/advisories/GHSA-45pq-889g-fcgh",
"https://nvd.nist.gov/vuln/detail/CVE-2026-71309",
"https://github.com/rclone/rclone/commit/cc5a189f00efe68ed0ddb32d3237b42549a9f264"
],
"provider_metadata": {
"cwe_ids": [
"CWE-22"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71309.json"
}
},
"related_cves": [
{
"value": "CVE-2026-71309",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 491508,
"published_at": "2026-08-05T20:13:30.935+00:00"
}