{"items":[{"id":"NVI-00015060","kind":"vulnerability","title":"rclone: PowerShell Smart-Quote Filename Injection Enables SFTP Server-Side Command Execution","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-2m8m-jhrm-w6j2","CVE-2026-71312"],"plain_summary":"GitHub lists this reviewed advisory for github.com/rclone/rclone. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-1408bdc4997ac160acfb72f57d78234d"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-08-05T20:38:00.000Z","value":"8 high","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-1408bdc4997ac160acfb72f57d78234d"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-1408bdc4997ac160acfb72f57d78234d","url":"https://github.com/advisories/GHSA-2m8m-jhrm-w6j2","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-2m8m-jhrm-w6j2","publisher":"GitHub Advisory Database","observed_at":"2026-11-03T09:58:09.980Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-1408bdc4997ac160acfb72f57d78234d"],"technology":"github.com/rclone/rclone","known_exclusions":[],"conditions_summary":"## 1. Summary\n\nrclone 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.\n\n## 2. Affected Assets & Attack Surface\n\n- Audited commit: `a0c09f1381ae93e2a9a33c529d170186c61ad058`\n- Backend: `backend/sftp`\n- Relevant code:\n  - `backend/sftp/sftp.go:1802-1812` — PowerShell hash commands\n  - `backend/sftp/sftp.go:1663-1699` — `Fs.run`\n  - `backend/sftp/sftp.go:1988-2067` — `Object.Hash`\n  - `backend/sftp/sftp.go:2071-2090` — `quoteOrEscapeShellPath`\n- Exposed input: remote filename controlled by an SFTP collaborator, upstream storage source, or other party able to create or rename files.\n- Required execution context: PowerShell as the SSH command shell, SSH exec enabled, and server-side hashing invoked.\n\n## 3. Technical Root Cause Analysis\n\nFor PowerShell, `quoteOrEscapeShellPath` wraps a path in ASCII apostrophes and doubles only `U+0027`:\n\n```go\nreturn \"'\" + strings.ReplaceAll(shellPath, \"'\", \"''","public_affected_ranges":["<= 1.74.4"]}],"null_published_at":"2026-11-03T10:03:26.541Z","source_updated_at":"2026-08-05T20:38:00.000Z","source_disclosed_at":"2026-08-05T20:37:56.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-11-03T09:58:09.980Z"}],"next_cursor":null,"snapshot_revision":"42594"}