CVEfocus › CVE database › CVE-2026-71312

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

CVSS 8.0 HighEPSS 0.5% (higher than 35% of CVEs)Published 2026-08-05Updated 2026-11-03Assigner: GitHub_M

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.

CWE-78

What to do

Fixed builds are available from Debian, Go: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
8Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10rcloneFix pendingUBUNTU-CVE-2026-71312
Ubuntu 26.04rcloneFix pendingUBUNTU-CVE-2026-71312
Ubuntu 24.04rcloneFix pendingUBUNTU-CVE-2026-71312
Ubuntu 22.04rcloneFix pendingUBUNTU-CVE-2026-71312
Ubuntu 20.04rcloneFix pendingUBUNTU-CVE-2026-71312
Ubuntu 18.04rcloneFix pendingUBUNTU-CVE-2026-71312
Debian 14rcloneFixed1.75.2-1DEBIAN-CVE-2026-71312
Debian 13rcloneFix pendingDEBIAN-CVE-2026-71312
Debian 12rcloneFix pendingDEBIAN-CVE-2026-71312
Go librarygithub.com/rclone/rcloneFixed1.75.0GHSA-2m8m-jhrm-w6j2

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.