Description
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.
Published: 2026-08-25
Score: 2 Low
EPSS: < 1% Very Low
KEV: No
Impact: Privilege Escalation
Action: Patch
AI Analysis

Impact

The vulnerability arises when rclone prior to version 1.74.4 processes source‑supplied mode metadata without clearing special permission bits in the local backend, allowing an attacker who can supply such metadata to set the setuid or setgid bits on files created by the tool. This can be achieved during a copy from an untrusted remote where metadata preservation is enabled; if rclone runs as root, the attacker can plant a setuid binary that executes with root privileges, giving full system control. If the process runs under a less powerful service account, the injected setuid bit still grants the attacker elevated rights relative to that account, potentially compromising the application or service environment.

Affected Systems

Affected user: rclone installation, any version earlier than 1.74.4, regardless of operating system. The issue is documented in the rclone rclone product, and any deployment that uses untrusted remote copies in a privileged context is at risk.

Risk and Exploitability

The CVSS score of 2.0 indicates low base severity, but the actual risk depends on the execution context. The EPSS score is reported as <1% (0.0014), indicating a very low but nonzero exploitation probability, and the vulnerability is not listed in the CISA KEV catalog, suggesting limited exploitation to date. The attacker would need the ability to provide metadata when initiating an rclone transfer, typically by controlling the source remote or by crafting a malicious remote file. Additionally, rclone must be running with additional privileges (root or a privileged service account) for the setuid bit to grant elevated rights. In environments where rclone runs as a non‑privileged user or where metadata preservation is disabled, the exploit would not succeed.

Generated by OpenCVE AI on September 1, 2026 at 17:48 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade rclone to version 1.74.4 or later.
  • Run rclone with the least privilege required; avoid executing it as root when copying from untrusted sources.
  • Disable metadata preservation for transfers from untrusted remotes using the appropriate command‑line flag or configuration setting (e.g., --no-file-perms or equivalent).

Generated by OpenCVE AI on September 1, 2026 at 17:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 01 Sep 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-281
References
Metrics threat_severity

None

threat_severity

Low


Tue, 25 Aug 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 25 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Description 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.
Title rclone before 1.74.4 Privilege Escalation via setuid Metadata
First Time appeared Rclone
Rclone rclone
Weaknesses CWE-732
CPEs cpe:2.3:a:rclone:rclone:*:*:*:*:*:*:*:*
Vendors & Products Rclone
Rclone rclone
References
Metrics cvssV3_1

{'score': 3.6, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N'}

cvssV4_0

{'score': 2, 'vector': 'CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-25T16:11:49.885Z

Reserved: 2026-08-25T14:32:37.762Z

Link: CVE-2026-79783

cve-icon Vulnrichment

Updated: 2026-08-25T16:11:42.411Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-08-25T16:17:30.383

Modified: 2026-09-10T20:46:19.780

Link: CVE-2026-79783

cve-icon Redhat

Severity : Low

Publid Date: 2026-08-25T15:16:11Z

Links: CVE-2026-79783 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-01T18:00:18Z

Weaknesses
  • CWE-281

    Improper Preservation of Permissions

  • CWE-732

    Incorrect Permission Assignment for Critical Resource