---
id: CVE-2026-79783
title: >-
  rclone before 1.74.4 fails to mask special permission bits when applying
  source-supplied mode metadata in the local backend, allowing attackers to set
  setuid/setgid bits on attacker-controlled files
summary: >-
  rclone before 1.74.4 fails to mask special permission bits when applying
  source-supplied mode metadata in the local backend, allowing attackers to set
  setuid/setgid bits on attacker-controlled files. When copying with metadata
  preservati…
severity: low
cvss: 3.6
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N'
cwe:
  - CWE-732
vendor: rclone
product: github.com/rclone/rclone
affected:
  - github.com/rclone/rclone < 1.74.4
patched:
  - github.com/rclone/rclone 1.74.4
published: '2026-08-25'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T20:46:19.780'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-79783'
references:
  - url: 'https://github.com/rclone/rclone/security/advisories/GHSA-945v-v9p3-v5xw'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/rclone-before-privilege-escalation-via-setuid-metadata
    label: disclosure@vulncheck.com
  - url: 'https://github.com/rclone/rclone/security/advisories/GHSA-945v-v9p3-v5xw'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: >-
      https://github.com/rclone/rclone/commit/e58f09739a35774ca82b5211d2377ac0f2051500
  - url: 'https://github.com/rclone/rclone'
  - url: 'https://github.com/rclone/rclone/releases/tag/v1.74.4'
tags:
  - nvd
  - osv
  - go
epss: 0.0014
epssPercentile: 0.03744
aliases:
  - GHSA-945v-v9p3-v5xw
  - GO-2026-6190
ecosystem: go
ingestedAt: '2026-08-27T19:27:46.623Z'
---

## Overview

rclone before 1.74.4 fails to mask special permission bits when applying source-supplied mode metadata in the local backend, allowing attackers to set setuid/setgid bits on attacker-controlled files. When copying with metadata preservation from an untrusted remote, attackers can plant a setuid binary that escalates privileges to root if rclone runs as root, or to the service account user otherwise.

## Remediation

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

## Package advisory (CVE-2026-79783)

Affected packages:

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

Patched in:

- `github.com/rclone/rclone 1.74.4`

Source: https://osv.dev/vulnerability/GHSA-945v-v9p3-v5xw
