CVE-2026-79783

rclone before 1.74.4 Privilege Escalation via setuid Metadata

Published Aug 25, 2026 CVSS 4.0 · 2 Low EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-281

    Improper Preservation of Permissions

  • CWE-732

    Incorrect Permission Assignment for Critical Resource

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Aug 25, 2026, 4:11 PM
Reserved
Aug 25, 2026, 2:32 PM
Status
Awaiting Analysis
Published
Aug 25, 2026, 4:17 PM
Modified
Sep 10, 2026, 8:46 PM
Severity
Low
Public date
Aug 25, 2026, 3:16 PM