Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/rclone/rclone
  4. ›
  5. CVE-2026-71312

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

August 5, 2026

rclone interpolates remote SFTP paths into PowerShell hash commands. Its quoting helper escapes only ASCII apostrophe, although PowerShell accepts four Unicode smart quotes as single-quote delimiters. An attacker-controlled filename can therefore terminate the intended path literal and append PowerShell statements executed as the victim’s SSH account.

References

  • github.com/advisories/GHSA-2m8m-jhrm-w6j2
  • github.com/rclone/rclone/commit/e122fba1a57641b63a580aa26c026903a84e2e88
  • github.com/rclone/rclone/releases/tag/v1.75.0
  • github.com/rclone/rclone/security/advisories/GHSA-2m8m-jhrm-w6j2
  • nvd.nist.gov/vuln/detail/CVE-2026-71312

Code Behaviors & Features

Detect and mitigate CVE-2026-71312 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.75.0

Fixed versions

  • 1.75.0

Solution

Upgrade to version 1.75.0 or above.

Impact 8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

go/github.com/rclone/rclone/CVE-2026-71312.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 18 Aug 2026 00:17:50 +0000.