{"id":"UBUNTU-CVE-2026-71312","details":"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.","modified":"2026-08-13T00:14:08Z","published":"2026-08-05T21:16:00Z","upstream":["CVE-2026-71312"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-71312"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-71312"},{"type":"REPORT","url":"https://github.com/rclone/rclone/security/advisories/GHSA-2m8m-jhrm-w6j2"},{"type":"REPORT","url":"https://github.com/rclone/rclone/commit/e122fba1a57641b63a580aa26c026903a84e2e88"},{"type":"REPORT","url":"https://github.com/rclone/rclone/releases/tag/v1.75.0"}],"affected":[{"package":{"name":"rclone","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/rclone?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.36-3","1.36-3ubuntu0.1","1.36-3ubuntu0.2"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-ncw-rclone-dev","binary_version":"1.36-3ubuntu0.2"},{"binary_name":"rclone","binary_version":"1.36-3ubuntu0.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-71312.json"}},{"package":{"name":"rclone","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/rclone?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.47.0+ex1-6","1.47.0+ex1-7","1.49.5-2","1.49.5-3","1.50.2-2","1.50.2-2ubuntu0.1","1.50.2-2ubuntu0.2","1.50.2-2ubuntu0.2+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-rclone-rclone-dev","binary_version":"1.50.2-2ubuntu0.2+esm1"},{"binary_version":"1.50.2-2ubuntu0.2+esm1","binary_name":"rclone"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-71312.json"}},{"package":{"name":"rclone","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/rclone?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.53.3-1","1.53.3-2","1.53.3-4","1.53.3-4ubuntu1","1.53.3-4ubuntu1.22.04.1","1.53.3-4ubuntu1.22.04.2","1.53.3-4ubuntu1.22.04.3","1.53.3-4ubuntu1.22.04.3+esm1","1.53.3-4ubuntu1.22.04.4","1.53.3-4ubuntu1.22.04.4+esm1","1.53.3-4ubuntu1.22.04.5","1.53.3-4ubuntu1.22.04.5+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-rclone-rclone-dev","binary_version":"1.53.3-4ubuntu1.22.04.5+esm1"},{"binary_version":"1.53.3-4ubuntu1.22.04.5+esm1","binary_name":"rclone"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-71312.json"}},{"package":{"name":"rclone","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/rclone?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.60.1+dfsg-2build1","1.60.1+dfsg-3","1.60.1+dfsg-3ubuntu0.24.04.1","1.60.1+dfsg-3ubuntu0.24.04.2","1.60.1+dfsg-3ubuntu0.24.04.3","1.60.1+dfsg-3ubuntu0.24.04.4","1.60.1+dfsg-3ubuntu0.24.04.4+esm1","1.60.1+dfsg-3ubuntu0.24.04.5","1.60.1+dfsg-3ubuntu0.24.04.5+esm1","1.60.1+dfsg-3ubuntu0.24.04.6","1.60.1+dfsg-3ubuntu0.24.04.6+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-rclone-rclone-dev","binary_version":"1.60.1+dfsg-3ubuntu0.24.04.6+esm1"},{"binary_name":"rclone","binary_version":"1.60.1+dfsg-3ubuntu0.24.04.6+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-71312.json"}},{"package":{"name":"rclone","ecosystem":"Ubuntu:Pro:26.04:LTS","purl":"pkg:deb/ubuntu/rclone?arch=source&distro=esm-apps%2Fresolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.60.1+dfsg-4ubuntu2","1.60.1+dfsg-4ubuntu3","1.60.1+dfsg-4ubuntu3.1","1.60.1+dfsg-4ubuntu3.1+esm1","1.60.1+dfsg-4ubuntu3.2","1.60.1+dfsg-4ubuntu3.2+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-rclone-rclone-dev","binary_version":"1.60.1+dfsg-4ubuntu3.2+esm1"},{"binary_name":"rclone","binary_version":"1.60.1+dfsg-4ubuntu3.2+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-71312.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}