cve.bz

CVE-2026-71312 rclone rclone: OS Command Injection

8.0 highEPSS 0.5%Fix available

High (8.0) in rclone rclone. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/rclone/rclone 1.75.0.

On this page
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 3.1

8.0 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 43rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-08-07. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-71312 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-71312?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-71312?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-71312 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
rclone< 1.75.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-2m8m-jhrm-w6j2Gogithub.com/rclone/rclone<1.75.01.75.0
GO-2026-6182Gogithub.com/rclone/rclone<1.75.01.75.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13rcloneno fix listedDEBIAN-CVE-2026-71312
Debian14rclone1.75.2-1DEBIAN-CVE-2026-71312
Ubuntu18.04:LTS, 26.10, Pro:20.04:LTS and 3 morercloneno fix listedUBUNTU-CVE-2026-71312
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0govulncheck-vulndb0.0.20260827T195228-160000.1.1SUSE-SU-2026:23625-1
openSUSELeap 16.0govulncheck-vulndb0.0.20260827T195228-160000.1.1openSUSE-SU-2026:21761-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This is an Important vulnerability in rclone, a command-line file synchronization program, that allows for server-side command execution. An attacker can craft malicious SFTP filenames containing Unicode smart quotes to inject and execute arbitrary PowerShell commands on the system running rclone. This occurs when server-side hashing operations are invoked, potentially leading to compromise of the victim's SSH account.

Red Hat's mitigation

avoid connecting rclone to SFTP servers

that use PowerShell as their SSH command shell, or disable server-side hashing

with --sftp-disable-hashcheck. Do not process files from untrusted sources on

SFTP remotes backed by PowerShell.

ProductPackageStateAdvisory
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/volsync-rhel9Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-71312.

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON