# CVE-2026-71312: rclone: PowerShell Smart-Quote Filename Injection Enables SFTP Server-Side Command Execution

- Severity: High 8.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 30% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-05T20:37:49.029Z
- Modified: 2026-11-03T23:17:53.807Z
- Also known as: GHSA-2m8m-jhrm-w6j2, BIT-RCLONE-2026-71312, GO-2026-6182
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- rclone rclone: < 1.75.0
- github.com/rclone/rclone (Go): before 1.75.0
- rclone (Bitnami): before 1.75.0

## Every score

- GitHub_M: CVSS:3.1 8.0 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.0 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/rclone/rclone/security/advisories/GHSA-2m8m-jhrm-w6j2> (exploit, advisory, web)
- <https://github.com/rclone/rclone/commit/e122fba1a57641b63a580aa26c026903a84e2e88> (fix, web)
- <https://github.com/rclone/rclone/releases/tag/v1.75.0> (web)
- <https://github.com/rclone/rclone> (package)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-71312> (web)

## Sources

- CVE List: [CVE-2026-71312](https://www.cve.org/CVERecord?id=CVE-2026-71312), CVE Terms of Use, modified 2026-11-03
- GitHub Advisory Database: [GHSA-2m8m-jhrm-w6j2](https://github.com/advisories/GHSA-2m8m-jhrm-w6j2), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-6182](https://pkg.go.dev/vuln/GO-2026-6182), CC-BY-4.0, modified 2026-08-18
- NVD: [CVE-2026-71312](https://nvd.nist.gov/vuln/detail/CVE-2026-71312), Public domain, modified 2026-11-03
- Bitnami Vulnerability Database: [BIT-RCLONE-2026-71312](https://osv.dev/vulnerability/BIT-RCLONE-2026-71312), Apache-2.0, modified 2026-08-18

---

Page: https://cve.day/CVE-2026-71312 · Whole record: https://cve.day/CVE-2026-71312.json · Rebuilt by cve.day 2026-11-25T22:59:31.190Z
