{"answers":{"affected":"4 open source packages ship an affected version, including github.com/rclone/rclone and rclone.","exploited":"There is no known exploitation of CVE-2026-71312 in the wild and no public exploit code.","fix":"Upgrade github.com/rclone/rclone to 1.75.0 or later.","what":"CVE-2026-71312 is a high-severity command injection vulnerability in rclone, published on 5 Aug 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-71312 and fix it if it is affected.\n\nWhat it is: CVE-2026-71312 is a high-severity command injection vulnerability in rclone, published on 5 Aug 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-71312 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/rclone/rclone (Go): affected all versions; fixed in 1.75.0\n- github.com/rclone/rclone (Go): affected all versions; fixed in 1.75.0\n- github.com/rclone/rclone (Go): affected all versions; fixed in 1.75.0\n- rclone (Bitnami): affected all versions; fixed in 1.75.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-71312/ (Markdown: https://insights.sbomify.com/CVE-2026-71312/index.md)","id":"CVE-2026-71312","markdown":"https://insights.sbomify.com/CVE-2026-71312/index.md","name":"CVE-2026-71312","record":{"aliases":["BIT-rclone-2026-71312","DEBIAN-CVE-2026-71312","GHSA-2m8m-jhrm-w6j2","GO-2026-6182","MINI-8282-vqf8-w4w9","MINI-9mw3-r46c-vcj4","MINI-grv3-6gcg-w8rh","MINI-m869-2v9h-77fw","MINI-qw7r-27gc-gm5x","MINI-rq49-r4r3-vx6v","MINI-wfr6-jgfc-g9qx","MINI-x2x8-v3m7-38w3","ROOT-APP-GOBINARY-CVE-2026-71312","UBUNTU-CVE-2026-71312"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"rclone CLI tool","requires_auth":"low_privilege","summary":"Attackers can execute arbitrary PowerShell commands on SFTP servers via crafted filenames due to improper quote escaping in rclone.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"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.","ecosystems":["Bitnami","Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"rclone: PowerShell Smart-Quote Filename Injection Enables SFTP Server-Side Command Execution","id":"CVE-2026-71312","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":4,"n_references":3,"next":{"headline":"rclone: Local Encoding Path Traversal","id":"CVE-2026-71313"},"packages":[{"ecosystem":"Bitnami","fixed":["1.75.0"],"introduced":["0"],"last_affected":[],"package":"rclone","purl":"pkg:bitnami/rclone","source":"BIT-rclone-2026-71312"},{"ecosystem":"Go","fixed":["1.75.0"],"introduced":["0"],"last_affected":[],"package":"github.com/rclone/rclone","purl":null,"source":"GHSA-2m8m-jhrm-w6j2"},{"ecosystem":"Go","fixed":["1.75.0"],"introduced":["0"],"last_affected":[],"package":"github.com/rclone/rclone","purl":"pkg:golang/github.com/rclone/rclone","source":"GHSA-2m8m-jhrm-w6j2"},{"ecosystem":"Go","fixed":["1.75.0"],"introduced":["0"],"last_affected":[],"package":"github.com/rclone/rclone","purl":"pkg:golang/github.com/rclone/rclone","source":"GO-2026-6182"}],"prev":{"headline":"rclone: FTP Command Arguments Permit CRLF Injection When Custom Encoding Preserves Newlines","id":"CVE-2026-71311"},"products":["rclone"],"published":"2026-08-05","related":[],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-08-07","vendors":["rclone"]},"summary":"Attackers can execute arbitrary PowerShell commands on SFTP servers via crafted filenames due to improper quote escaping in rclone.","url":"https://insights.sbomify.com/CVE-2026-71312/"}