Skip to main content

rclone CVE-2026-71312

| EUVDEUVD-2026-53619 HIGH
OS Command Injection (CWE-78)
2026-08-05 GitHub_M GHSA-2m8m-jhrm-w6j2
8.0
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Attain file-write access to target SFTP remote
  2. Delivery
    Create file with Unicode smart-quote payload in filename
  3. Exploit
    Victim rclone client invokes server-side hashing
  4. Execution
    rclone builds PowerShell Get-FileHash command with unescaped smart-quote
  5. Persist
    Smart quote closes path literal, appending injected statement
  6. Impact
    Arbitrary PowerShell executes as victim SSH account on server

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Three specific non-default conditions must all be present: (1) the SFTP remote's SSH command shell must be PowerShell - standard POSIX/OpenSSH deployments using bash or sh are entirely unaffected, as the Unicode quoting issue is PowerShell-specific; (2) SSH exec must be enabled on the SFTP server; and (3) rclone must invoke server-side hashing for the affected remote, either explicitly configured or via autodetection. Beyond server configuration, the attacker must have the ability to create or rename files on the SFTP remote - qualifying roles include an authorized SFTP collaborator, an upstream storage source under attacker influence, or any party with remote write/rename capability. What limits exploitation: the PR:L CVSS metric confirms authenticated access is required; UI:R confirms the victim must actively trigger a hash operation; and the PowerShell shell requirement restricts the vulnerable population to Windows-hosted or explicitly PowerShell-configured SFTP deployments. Unauthenticated or fully passive exploitation is not possible.

Impact

The vendor-assigned CVSS 8.0 vector (AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H) reflects high impact but may overstate real-world exploitability. The PR:L metric confirms some level of authenticated access is required - the attacker must have the ability to create or rename files on the SFTP remote. UI:R is a meaningful constraint: the victim must actively invoke server-side hashing, not merely connect to the remote. Most critically, exploitation requires a non-default deployment condition - PowerShell must be the SSH command shell, a configuration typical of Windows-hosted SFTP servers but uncommon on standard POSIX environments. These factors combined suggest the realistic attack surface is substantially narrower than a raw 8.0 implies. A proof-of-concept was demonstrated in the GHSA advisory, confirming the issue is exploitable in practice, but no EPSS score or CISA KEV listing was provided, leaving broader exploitation probability unconfirmed. This is a genuine high-severity issue for affected configurations but not broadly applicable across all rclone deployments.

Exploit ScenarioDerived

An attacker with SFTP write access to a Windows-hosted SFTP server creates a file whose name contains a Unicode smart quote (e.g., U+2019 ') followed by a semicolon and a PowerShell payload such as an outbound HTTP beacon or lateral-movement command. When the victim runs rclone with server-side hashing enabled against that remote, rclone constructs a PowerShell Get-FileHash command incorporating the malicious filename - the smart quote closes the path literal, and the injected statement executes as the victim's SSH account on the server. A proof-of-concept using a harmless Set-Content marker and the production Object.Hash code path was confirmed in the GHSA advisory.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 05, 2026

PowerShell smart-quote filename injection in rclone's SFTP backend allows an attacker who controls remote filenames to execute arbitrary PowerShell commands as the victim's SSH account on the server. All rclone versions prior to v1.75.0 are affected when the SFTP remote uses PowerShell as the SSH command shell and server-side hashing is invoked. A proof-of-concept was confirmed by the GHSA advisory author; no CISA KEV listing was present at time of analysis, but the specific attack conditions meaningfully constrain real-world exposure to Windows-hosted or PowerShell-shelled SFTP deployments.

RemediationAI

Upgrade rclone to v1.75.0 or later, available at https://github.com/rclone/rclone/releases/tag/v1.75.0. The fix replaces the single-character escape with a powerShellQuoteEscaper that doubles all five PowerShell single-quote delimiters (U+0027, U+2018, U+2019, U+201A, U+201B); the specific fix commit is https://github.com/rclone/rclone/commit/e122fba1a57641b63a580aa26c026903a84e2e88. If immediate upgrade is not feasible, the following compensating controls reduce exposure: disable server-side hashing on SFTP remotes by configuring rclone to avoid hash operations (trade-off: integrity verification falls back to client-side or is skipped); replace PowerShell with a POSIX shell (bash or sh) as the SSH exec shell on the server (eliminates the PowerShell quoting surface entirely); or restrict SFTP write/rename access to fully trusted parties who cannot introduce smart-quote characters into filenames. None of these mitigations address the underlying code defect.

Affected VersionsENISA

rclone < 1.75.0

Affected Packages

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

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

The flaw resides in rclone's SFTP backend at backend/sftp/sftp.go, specifically in the quoteOrEscapeShellPath helper (lines 2071-2090) invoked by Object.Hash (lines 1988-2067) during server-side hashing. When building the PowerShell Get-FileHash command, rclone incorporates remote file paths via string concatenation, wrapping them in ASCII apostrophes (U+0027) and doubling only that character as an escape. Windows PowerShell, however, also accepts four Unicode 'smart quote' characters - U+2018 ('), U+2019 ('), U+201A (‚), and U+201B (‛) - as single-quote string delimiters. Because rclone's encoder passes these characters through unmodified, an attacker-controlled filename containing any of these characters can close the path literal and append arbitrary PowerShell statements to the command sent over SSH exec. The root cause is CWE-78 (OS Command Injection): shell syntax is constructed by string concatenation rather than passing data through a non-code channel. Affected product identified by CPE cpe:2.3:a:rclone:rclone:*:*:*:*:*:*:*:*, versions up to and including v1.74.4.

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 (GitHub_M) PRIMARY 8.0 HIGH
AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.1 HIGH

AC:H reflects the required non-default PowerShell SSH shell configuration; PR:L and UI:R retained from vendor vector as file-write access and victim-triggered hashing are confirmed prerequisites.

3.1 AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE HIGH
Red Hat 8.0 HIGH

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Aug 05, 2026 - 21:03 EUVD
CVE Published
Aug 05, 2026 - 20:37 cve.org
HIGH 8.0

DescriptionCVE.org

rclone is a command-line program to sync files and directories to and from different cloud storage providers. Prior to v1.75.0, rclone interpolates remote SFTP paths into PowerShell hash commands in backend/sftp/sftp.go, and quoteOrEscapeShellPath escapes only ASCII apostrophe even though PowerShell treats U+2018, U+2019, U+201A, and U+201B as single-quote delimiters, allowing an attacker-controlled filename to terminate the intended path literal and append PowerShell statements that execute as the victim SSH account when server-side hashing is invoked. This issue is fixed in v1.75.0.

Executive ViewAI

Why It Matters

rclone SFTP backend in Windows and PowerShell-enabled environments is vulnerable to remote code execution through malicious filenames. Publicly available exploit code exists for this high-severity vulnerability. Organizations running rclone for file synchronization require immediate assessment and patching to prevent account compromise and unauthorized data access.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Medium
popular open-source cloud sync CLI, widely used in DevOps automation
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Social Media
2
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL GitHub VulDB

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 HIGH
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

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

CVE-2026-54572 HIGH POC
8.8 Jul 14

Arbitrary file write via symlink traversal in Rclone prior to 1.74.4 lets an attacker-controlled remote escape the local

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected

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