Advisory

GO-2026-6182

Also known as: BIT-rclone-2026-71312, CVE-2026-71312, GHSA-2m8m-jhrm-w6j2

Summary

Command execution via PowerShell smart quotes in github.com/rclone/rclone

Details

PowerShell treats several Unicode smart-quote characters (U+2018, U+2019, U+201A, U+201B) as single-quote delimiters in addition to ASCII apostrophe. When interpolating remote SFTP paths into PowerShell commands, rclone only escapes the ASCII apostrophe, allowing an attacker to craft a filename with smart quotes that closes the path literal and injects arbitrary PowerShell commands executed on the SFTP remote as the victim's SSH account.

Severity

Not rated by the source.

Dates

Published
2026-08-18 16:38 UTC
Modified
2026-08-18 17:24 UTC

Affected packages and fixes

github.com/rclone/rclone

Go · All systems

Affected

  • introduced 0, fixed 1.75.0 (semver)

Fixed versions

1.75.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences