Description
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.
Severity (CVSS)
| Base score | 8 |
|---|---|
| Severity | High |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| Provided by | CNA |
Weaknesses
- CWE-78 — CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| rclone | rclone | < 1.75.0 |
References
- https://github.com/rclone/rclone/security/advisories/GHSA-2m8m-jhrm-w6j2 (x_refsource_CONFIRM)
- https://github.com/rclone/rclone/commit/e122fba1a57641b63a580aa26c026903a84e2e88 (x_refsource_MISC)
- https://github.com/rclone/rclone/releases/tag/v1.75.0 (x_refsource_MISC)
Generated from the official CVE List on 06 Aug 2026 07:06 UTC.