rclone: PowerShell Smart-Quote Filename Injection Enables SFTP Server-Side Command Execution
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-78.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| rclone | rclone | before 1.75.0 | 1.75.0 | Patch available | CNA |
| — | github.com/rclone/rclone (Go) | before 1.75.0 | 1.75.0 | Patch available | GHSA-2m8m-jhrm-w6j2 |
- rclone Vendorrclone Affected before 1.75.0 Fixed in 1.75.0 Patch available CNA
- github.com/rclone/rclone (Go) Vendor— Affected before 1.75.0 Fixed in 1.75.0 Patch available GHSA-2m8m-jhrm-w6j2
Remediation
- Fix · CNA rclone (rclone) Fixed in 1.75.0
- Fix · GHSA-2m8m-jhrm-w6j2 github.com/rclone/rclone (Go) Fixed in 1.75.0 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
Not affected: 1 product
- Red Hat Advanced Cluster Management for Kubernetes 2
Timeline
- 2026-10-02 Threatist record created from CVE-2026-71312
- 2026-10-03 Alias added: GHSA-2m8m-jhrm-w6j2
- 2026-11-03 CISA SSVC decision points changed
References
More rclone vulnerabilities
- TI-2026-60044 rclone serve s3: --auth-proxy without --auth-key authenticates nobody - full SigV4 signature bypass CVSS 3.1CRITICAL 9.8
- TI-2026-29802 RClone: Unauthenticated operations/fsinfo allows attacker-controlled backend instantiation and local command execution CVSS 4.0CRITICAL 9.2
- TI-2026-29799 Rclone: Unauthenticated options/set allows runtime auth bypass, leading to sensitive operations and command execution CVSS 4.0CRITICAL 9.2
- TI-2026-60064 rclone: RC per-server auth-proxy bypass CVSS 3.1CRITICAL 9.1
- TI-2026-42602 Path traversal in rclone CVSS 3.1HIGH 8.8
- TI-2026-60065 rclone: S3 multipart declared-length memory exhaustion CVSS 3.1HIGH 7.5
Sources
- CVE-2026-71312 · CVE Program
- CVE-2026-71312 · NVD
- FIRST EPSS
- GHSA-2m8m-jhrm-w6j2 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-71312 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences