Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttain file-write access to target SFTP remote
-
DeliveryCreate file with Unicode smart-quote payload in filename
-
ExploitVictim rclone client invokes server-side hashing
-
Executionrclone builds PowerShell Get-FileHash command with unescaped smart-quote
-
PersistSmart quote closes path literal, appending injected statement
-
ImpactArbitrary 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Authentication bypass in rclone's S3 server mode (rclone serve s3) allows any unauthenticated network attacker to impers
An issue was discovered in Rclone before 1.53.3. Rated high severity (CVSS 7.5), this vulnerability is remotely exploita
Cross-session credential isolation failure in rclone's FTP auth-proxy driver (versions 1.64.0-1.75.0) allows an authenti
Symlink escape in rclone's local backend (prior to v1.75.1) allows an attacker who controls sync source contents to appl
FTP CRLF injection in rclone before 1.75.0 allows an attacker who can place crafted filenames in a source namespace to i
Path traversal (Zip Slip class) in rclone's archive ZIP backend permits arbitrary file writes outside the intended desti
Denial of service in rclone prior to 1.75.1 allows unauthenticated remote attackers to crash individual HTTP or WebDAV c
Path traversal in rclone prior to 1.75.1 allows an attacker who can populate a source object store with raw `..` key seg
Cleartext disclosure of AWS STS session tokens affects rclone before 1.74.4 when its S3 backend follows a redirect that
Authentication/authorization bypass in rclone's dynamic serve interface (versions 1.70.0 through 1.75.0) lets remote att
Path traversal in the `rclone serve restic --private-repos` REST server (versions prior to 1.74.4) allows an authenticat
Arbitrary file write via symlink traversal in Rclone prior to 1.74.4 lets an attacker-controlled remote escape the local
Same weakness CWE-78 – OS Command Injection
View allSame technique Command Injection
View allVendor StatusVendor
SUSE
Severity: Important| Product | Status |
|---|---|
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
EUVD-2026-53619
GHSA-2m8m-jhrm-w6j2
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB