{"id":"CVE-2026-71312","state":"PUBLISHED","title":"rclone: PowerShell Smart-Quote Filename Injection Enables SFTP Server-Side Command Execution","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.","publishedAt":"2026-08-05T20:37:49.029Z","updatedAt":"2026-08-07T03:55:21.917Z","severity":{"score":8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["rclone rclone"],"affected":[{"vendor":"rclone","product":"rclone","versions":[{"version":"< 1.75.0","status":"affected"}]}],"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"],"weaknesses":["CWE-78"],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/71xxx/CVE-2026-71312.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-71312","state":"PUBLISHED","datePublished":"2026-08-05T20:37:49.029Z","dateUpdated":"2026-08-07T03:55:21.917Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-08-05T18:14:42.064Z"},"containers":{"cna":{"title":"rclone: PowerShell Smart-Quote Filename Injection Enables SFTP Server-Side Command Execution","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"rclone","product":"rclone","versions":[{"version":"< 1.75.0","status":"affected"}]}],"references":[{"url":"https://github.com/rclone/rclone/security/advisories/GHSA-2m8m-jhrm-w6j2","name":"https://github.com/rclone/rclone/security/advisories/GHSA-2m8m-jhrm-w6j2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/rclone/rclone/commit/e122fba1a57641b63a580aa26c026903a84e2e88","name":"https://github.com/rclone/rclone/commit/e122fba1a57641b63a580aa26c026903a84e2e88","tags":["x_refsource_MISC"]},{"url":"https://github.com/rclone/rclone/releases/tag/v1.75.0","name":"https://github.com/rclone/rclone/releases/tag/v1.75.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","lang":"en","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-05T20:37:49.029Z"},"source":{"advisory":"GHSA-2m8m-jhrm-w6j2","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/rclone/rclone/security/advisories/GHSA-2m8m-jhrm-w6j2","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-06T00:00:00+00:00","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3","id":"CVE-2026-71312"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-07T03:55:21.917Z"}}]}}}