Skip to main content
← All vulnerabilities
CVE-2026-71312GHSA-2M8M-JHRM-W6J2BIT-RCLONE-2026-71312GO-2026-6182

rclone: PowerShell Smart-Quote Filename Injection Enables SFTP Server-Side Command Execution

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.75.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • rclone rclone

    fixed in 1.75.0

  • github.com/rclone/rcloneGo

    fixed in 1.75.0

References 3

GitHub · rclone/rclone