{"items":[{"id":"NVI-00015161","kind":"vulnerability","title":"rclone local `--metadata` applies attacker-controlled mode/uid - setuid binary planted from an untrusted remote","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-945v-v9p3-v5xw"],"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-3209d2e3818cd3067e7f2e844c03c030"],"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:03:14.000Z","value":"3.6 low","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-3209d2e3818cd3067e7f2e844c03c030"}],"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-3209d2e3818cd3067e7f2e844c03c030","url":"https://github.com/advisories/GHSA-945v-v9p3-v5xw","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-945v-v9p3-v5xw","publisher":"GitHub Advisory Database","observed_at":"2026-11-03T09:58:09.980Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-3209d2e3818cd3067e7f2e844c03c030"],"technology":"github.com/rclone/rclone","known_exclusions":[],"conditions_summary":"### Summary\nWhen writing an object with metadata, the local backend applies the source-supplied `mode`, `uid`, and `gid` verbatim: it parses `mode` as an octal integer and passes it straight into `os.Chmod(o.path, os.FileMode(umode))`, and passes `uid`/`gid` straight into `os.Chown`. The value is never masked to permission bits, so any value with Go's `ModeSetuid` (1: /dest`, rclone writes the attacker's binary and makes it setuid. If the victim runs rclone as root (typical for system backup/restore), the `uid=0` chown plus setuid produces a root-owned setuid binary with attacker content — any local user then escalates to root. When rclone runs as a non-root service user, the planted setuid binary is owned by that user, giving any local user that user's privileges (lateral escalation / persistent backdoor).\n\n### Details\n`backend/local/metadata.go`, `writeMetadataToFile()`:\n```","public_affected_ranges":["<= 1.74.3"]}],"null_published_at":"2026-11-03T10:03:26.555Z","source_updated_at":"2026-08-05T20:03:14.000Z","source_disclosed_at":"2026-08-05T20:03:14.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"}