Skip to main content

rclone EUVDEUVD-2026-65541

| CVE-2026-79783 LOW
Incorrect Permission Assignment for Critical Resource (CWE-732)
2026-08-25 VulnCheck GHSA-vqwj-943v-724g
2.0
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker stores crafted binary with mode=40000755, uid=0 on controlled remote
  2. Delivery
    Victim runs rclone copy -M <attacker-remote>: /dest as root
  3. Exploit
    rclone writes binary content and calls os.Chown(uid=0) and os.Chmod(setuid) verbatim
  4. Execution
    Setuid root binary lands on local filesystem
  5. Persist
    Local unprivileged user executes planted binary
  6. Impact
    Privilege escalation to root

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V13 - Configuration Permission assignment review
Exploitation Conditions

Exploitation requires three concurrent conditions: (1) the victim must invoke rclone with the --metadata or -M flag explicitly - this flag is off by default and must be deliberately enabled; (2) the source remote must be attacker-controlled or compromised, capable of serving crafted mode/uid/gid metadata; and (3) the destination must be a local filesystem (the local backend). The most severe outcome (root privilege escalation for any local user) additionally requires rclone to be running as root, which is common in cron-scheduled backup/restore jobs but not universal. When rclone runs as a non-root service account, escalation is limited to that account's privileges, enabling lateral movement or persistent backdoor rather than full root compromise. User interaction is required: a human or scheduler must trigger the rclone copy or sync command. Non-default configuration (the -M flag) is the primary limiting factor that restricts the exposed population.

Impact

The provided CVSS 4.0 score of 2.0 (AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N) reflects a conservative single-metric view. In practice, the worst-case path - rclone running as root copying from an attacker-controlled remote with -M enabled - yields root-level privilege escalation for any local user, a materially higher impact than VC:L/VI:L implies. The low score appears to treat the scenario where rclone runs as a non-root user, limiting escalation to that account's privileges. No EPSS data was provided and no KEV listing exists, consistent with a targeted rather than commodity exploitation pattern. A PoC is embedded in the upstream advisory, lowering the barrier for exploitation significantly. The primary mitigating factors are: (1) the --metadata flag is not enabled by default, (2) the attacker must control the source remote, and (3) the most severe outcome requires rclone to run as root. For organizations using rclone in automated root-level backup or restore jobs pulling from externally controlled or shared remotes, this represents a genuine high-severity risk despite the low base score.

Exploit ScenarioDerived

An attacker who controls an rclone-compatible remote endpoint (e.g., an S3 bucket, SFTP server, or WebDAV share) uploads a crafted shell binary with metadata set to mode=40000755 (setuid world-executable in Go FileMode layout) and uid=0. When a victim administrator runs rclone copy -M attacker-remote: /opt/backup as root on a scheduled cron job, rclone writes the binary and then calls os.Chown to assign root ownership and os.Chmod to set the setuid bit verbatim. Any local unprivileged user can then execute /opt/backup/<binary> to obtain a root shell. A proof-of-concept demonstrating this against rclone v1.74.3 is included in the upstream advisory.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 25, 2026

Privilege escalation in rclone before 1.74.4 allows an attacker who controls a source remote to plant a setuid binary on the destination filesystem when the victim uses the --metadata flag during a copy or sync operation. The local backend passes source-supplied mode, uid, and gid metadata verbatim to os.Chmod and os.Chown without masking ModeSetuid or ModeSetgid bits, enabling an attacker to store a crafted binary with mode=40000755 and uid=0 on a remote they control. If rclone runs as root - common in automated backup/restore workflows - any local user on the destination system can execute the planted binary to gain root access. A proof-of-concept is documented in the upstream advisory; no confirmed active exploitation (CISA KEV) is recorded at time of analysis.

RemediationAI

Upgrade to rclone 1.74.4 or later; this release applies a sanitization mask to strip ModeSetuid and ModeSetgid bits before passing the mode value to os.Chmod, as confirmed by patch commit e58f09739a35774ca82b5211d2377ac0f2051500 and the upstream advisory at https://github.com/rclone/rclone/security/advisories/GHSA-945v-v9p3-v5xw. If immediate upgrade is not feasible, remove the --metadata (-M) flag from all rclone copy, sync, or move commands that read from untrusted, shared, or externally-controlled remotes; this eliminates the vulnerable code path entirely, though it means file ownership and permission metadata will not be preserved on the destination. As an additional defense-in-depth measure, avoid running rclone as root for operations involving external sources; running as a dedicated unprivileged service account limits worst-case escalation to that account's privileges rather than root, reducing blast radius significantly.

Affected VersionsENISA

rclone 0 <1.74.4

Affected Packages

go github.com/rclone/rclone fix: 1.74.4
euvd rclone fix: 1.74.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

rclone's local backend implements metadata preservation in backend/local/metadata.go via writeMetadataToFile(). When the --metadata/-M flag is active, it parses the source-supplied mode field as an octal integer and passes it directly to os.Chmod(o.path, os.FileMode(umode)) without applying a sanitization mask such as &^ (os.ModeSetuid|os.ModeSetgid). Go's os.FileMode type natively honors ModeSetuid (bit 1<<23) and ModeSetgid (bit 1<<22), so any source-supplied mode value with these bits set causes the filesystem to apply setuid or setgid. Similarly, uid and gid are passed directly to os.Chown with no guard against cross-user ownership assignment. CWE-732 (Incorrect Permission Assignment for Critical Resource) is the root cause: the vulnerable component assigns permissions dictated by an untrusted external source rather than enforcing a safe upper bound. The affected CPE is cpe:2.3:a:rclone:rclone:*:*:*:*:*:*:*:*, covering all rclone builds through 1.74.3. A legitimate local-to-local copy is incidentally safe because POSIX st_mode layout does not set bit 1<<23 for ordinary setuid files - but the attacker supplies Go FileMode layout directly, bypassing this accidental protection.

Know when Rclone gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 2.0 LOW
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
vuln.today AI 8.0 HIGH

Attacker prepares malicious remote over network (AV:N); high complexity due to prerequisites of -M flag and root execution (AC:H); no privileges on target required (PR:N); victim must run the copy command (UI:R); privilege escalation beyond rclone's own scope to root constitutes scope change (S:C) with full C/I impact.

3.1 AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Aug 25, 2026 - 17:17 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Medium
widely used open-source cloud sync tool among sysadmins
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

More in Rclone

View all
CVE-2026-88018 CRITICAL POC
9.8 Sep 10

Authentication bypass in rclone's S3 server mode (rclone serve s3) allows any unauthenticated network attacker to impers

CVE-2026-71312 HIGH POC
8.0 Aug 05

PowerShell smart-quote filename injection in rclone's SFTP backend allows an attacker who controls remote filenames to e

CVE-2020-28924 HIGH POC
7.5 Nov 19

An issue was discovered in Rclone before 1.53.3. Rated high severity (CVSS 7.5), this vulnerability is remotely exploita

CVE-2026-88017 HIGH POC
7.3 Sep 10

Cross-session credential isolation failure in rclone's FTP auth-proxy driver (versions 1.64.0-1.75.0) allows an authenti

CVE-2026-88016 HIGH POC
7.1 Sep 10

Symlink escape in rclone's local backend (prior to v1.75.1) allows an attacker who controls sync source contents to appl

CVE-2026-71311 MEDIUM POC
6.4 Aug 05

FTP CRLF injection in rclone before 1.75.0 allows an attacker who can place crafted filenames in a source namespace to i

CVE-2026-88014 MEDIUM POC
6.3 Sep 10

Path traversal (Zip Slip class) in rclone's archive ZIP backend permits arbitrary file writes outside the intended desti

CVE-2026-88015 MEDIUM POC
5.3 Sep 10

Denial of service in rclone prior to 1.75.1 allows unauthenticated remote attackers to crash individual HTTP or WebDAV c

CVE-2026-88046 MEDIUM POC
5.3 Sep 10

Path traversal in rclone prior to 1.75.1 allows an attacker who can populate a source object store with raw `..` key seg

CVE-2026-79782 CRITICAL
9.3 Aug 25

Cleartext disclosure of AWS STS session tokens affects rclone before 1.74.4 when its S3 backend follows a redirect that

CVE-2026-88044 CRITICAL POC
9.1 Sep 10

Authentication/authorization bypass in rclone's dynamic serve interface (versions 1.70.0 through 1.75.0) lets remote att

CVE-2026-59733 HIGH POC
8.8 Jul 14

Path traversal in the `rclone serve restic --private-repos` REST server (versions prior to 1.74.4) allows an authenticat

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy