{"id":"CVE-2026-41179","aliases":["CVE-2026-41179","GHSA-jfwf-28xr-xw6q","BIT-RCLONE-2026-41179","GO-2026-5466"],"related":["CGA-phxr-4g7c-gg7h"],"kind":"vulnerability","state":"published","title":"RClone: Unauthenticated operations/fsinfo allows attacker-controlled backend instantiation and local command execution","summary":"Rclone is a command-line program to sync files and directories to and from different cloud storage providers. Starting in version 1.48.0 and prior to version 1.73.5, the RC endpoint `operations/fsinfo` is exposed without `AuthRequired: true` and accepts attacker-controlled `fs` input. Because `rc.GetFs(...)` supports inline backend definitions, an unauthenticated attacker can instantiate an attacker-controlled backend on demand. For the WebDAV backend, `bearer_token_command` is executed during backend initialization, making single-request unauthenticated local command execution possible on reachable RC deployments without global HTTP authentication. Version 1.73.5 patches the issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Rclone is a command-line program to sync files and directories to and from different cloud storage providers. Starting in version 1.48.0 and prior to version 1.73.5, the RC endpoint `operations/fsinfo` is exposed without `AuthRequired: true` and accepts attacker-controlled `fs` input. Because `rc.GetFs(...)` supports inline backend definitions, an unauthenticated attacker can instantiate an attacker-controlled backend on demand. For the WebDAV backend, `bearer_token_command` is executed during backend initialization, making single-request unauthenticated local command execution possible on reachable RC deployments without global HTTP authentication. Version 1.73.5 patches the issue.","source":"cvelist"},{"lang":"en","text":"### Summary\nThe RC endpoint `operations/fsinfo` is exposed without `AuthRequired: true` and accepts attacker-controlled `fs` input. Because `rc.GetFs(...)` supports inline backend definitions, an unauthenticated attacker can instantiate an attacker-controlled backend on demand. For the WebDAV backend, `bearer_token_command` is executed during backend initialization, making single-request unauthenticated local command execution possible on reachable RC deployments without global HTTP authentication.\n\n### Preconditions\n\nPreconditions for this vulnerability are:\n\n- The rclone remote control API **must** be enabled, either by the `--rc` flag or by running the `rclone rcd` server\n- The remote control API **must** be reachable by the attacker - by default rclone only serves the rc to localhost unless the `--rc-addr` flag is in use\n- The rc must have been deployed **without** global RC HTTP authentication - so not using `--rc-user`/`--rc-pass`/`--rc-htpasswd`/etc\n\n\n### Details\nThe root cause consists of the following pieces:\n\n1. `operations/fsinfo` is not protected with `AuthRequired: true`\n2. `operations/fsinfo` calls `rc.GetFs(...)` on attacker-controlled input\n3. `rc.GetFs(...)` supports inline backend creation through object-valued `fs`\n4. WebDAV backend initialization executes `bearer_token_command`\n\nRelevant code paths:\n\n- [`fs/operations/rc.go`](https://github.com/rclone/rclone/blob/bf55d5e6d37fd86164a87782191f9e1ffcaafa82/fs/operations/rc.go)\n  - `operations/fsinfo` is registered without `AuthRequired: true`\n  - `rcFsInfo()` calls `rc.GetFs(ctx, in)`\n\n- [`fs/rc/cache.go`](https://github.com/rclone/rclone/blob/bf55d5e6d37fd86164a87782191f9e1ffcaafa82/fs/rc/cache.go)\n  - `GetFs()` / `GetFsNamed()` can parse an object-valued `fs`\n  - `getConfigMap()` converts attacker-controlled JSON into a backend config string\n\n- [`backend/webdav/webdav.go`](https://github.com/rclone/rclone/blob/bf55d5e6d37fd86164a87782191f9e1ffcaafa82/backend/webdav/webdav.go)\n  - `bearer_token_command` is a supported backend option\n  - `NewFs(...)` calls `fetchAndSetBearerToken()` when `bearer_token_command` is set\n  - `fetchBearerToken()` invokes `exec.Command(...)`\n\nThis creates a practical single-request unauthenticated command-execution primitive on reachable RC servers without global HTTP authentication.\n\nThis was alidated on:\n- current `master` as of 2026-04-14: `bf55d5e6d37fd86164a87782191f9e1ffcaafa82`\n- latest public release tested locally: `v1.73.4`\n\nThis was also validated on a public amd64 Ubuntu host controlled by the tester, using direct host execution (not containerized PoC execution).\n\n### PoC\n#### Minimal single-request form PoC\nStart a vulnerable RC server:\n\n```bash\nrclone rcd --rc-addr 127.0.0.1:5572\n```\n\nNo `--rc-user`, no `--rc-pass`, no `--rc-htpasswd`.\n\nThen send a single request:\n\n```bash\ncurl -sS -X POST http://127.0.0.1:5572/operations/fsinfo \\\n  --data-urlencode \"fs=:webdav,url='http://127.0.0.1/',vendor=other,bearer_token_command='/usr/bin/touch /tmp/rclone_fsinfo_rce_poc_marker':\"\n```\n\nExpected result:\n- HTTP 200 JSON response from `operations/fsinfo`\n- `/tmp/rclone_fsinfo_rce_poc_marker` is created on the host\n\n### Impact\nThis is effectively a single-request unauthenticated command-execution vulnerability on reachable RC deployments without global HTTP authentication.\n\nIn practice, command execution in the rclone process context can lead to higher-impact outcomes such as local file read, file write, or shell access, depending on the deployed environment.\n\n#### Testing performed\nThis was successfully reproduced:\n- on a local test environment\n- on a public amd64 Ubuntu host controlled by the tester\n\nOn the public host it was confirmed:\n\n- the unauthenticated `operations/fsinfo` exploit worked\n- command execution occurred on the host\n- the issue was reproducible through direct host execution","format":"markdown","source":"ghsa"},{"lang":"en","text":"The operations/fsinfo remote control (RC) endpoint in rclone was registered without requiring authentication. This allowed unauthenticated callers to instantiate arbitrary backends via inline backend definitions, which could lead to local command execution if the backend configuration allows it (e.g., via bearer_token_command in webdav or ssh in sftp).","format":"markdown","source":"go"},{"lang":"es","text":"Rclone es un programa de línea de comandos para sincronizar archivos y directorios hacia y desde diferentes proveedores de almacenamiento en la nube. A partir de la versión 1.48.0 y antes de la versión 1.73.5, el endpoint RC ’operations/fsinfo’ está expuesto sin ’AuthRequired: true’ y acepta entrada ’fs’ controlada por el atacante. Debido a que ’rc.GetFs(...)’ soporta definiciones de backend en línea, un atacante no autenticado puede instanciar un backend controlado por el atacante bajo demanda. Para el backend WebDAV, ’bearer_token_command’ se ejecuta durante la inicialización del backend, lo que hace posible la ejecución de comandos locales no autenticados de una sola solicitud en implementaciones RC accesibles sin autenticación HTTP global. La versión 1.73.5 corrige el problema.","source":"nvd"}],"published":"2026-04-22T14:45:10.000Z","modified":"2026-11-11T23:10:00.263Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":9.2,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":9.2,"rating":"CRITICAL"},{"scorer":"redhat-SADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"CRITICAL"}],"cwes":["CWE-78","CWE-94","CWE-306"],"affected":[{"ranges":[{"version":">= 1.48.0, < 1.73.5","status":"affected"}],"vendor":"rclone","product":"rclone","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift API for Data Protection","package":"oadp/oadp-mustgather-rhel9","cpe":"cpe:/a:redhat:openshift_api_data_protection:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift API for Data Protection","package":"oadp/oadp-velero-restic-restore-helper-rhel9","cpe":"cpe:/a:redhat:openshift_api_data_protection:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift API for Data Protection","package":"oadp/oadp-velero-rhel9","cpe":"cpe:/a:redhat:openshift_api_data_protection:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","package":"rhacm2/volsync-rhel9","cpe":"cpe:/a:redhat:acm:2","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.48.0","status":"affected","fixed":"1.73.5"}],"ecosystem":"Go","package":"github.com/rclone/rclone","purl":"pkg:golang/github.com/rclone/rclone","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.48.0","status":"affected"}],"ecosystem":"Go","package":"github.com/ncw/rclone","purl":"pkg:golang/github.com/ncw/rclone","source":"go"},{"ranges":[{"type":"semver","introduced":"1.49.0","status":"affected","fixed":"1.73.5"}],"ecosystem":"Go","package":"github.com/rclone/rclone","purl":"pkg:golang/github.com/rclone/rclone","source":"go"},{"ranges":[{"status":"affected","introduced":"1.48.0","fixed":"1.73.5"}],"vendor":"rclone","product":"rclone","cpe":"cpe:2.3:a:rclone:rclone:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"1.48.0","status":"affected","fixed":"1.73.5"}],"ecosystem":"Bitnami","package":"rclone","purl":"pkg:bitnami/rclone","source":"bitnami"}],"references":[{"url":"https://github.com/rclone/rclone/security/advisories/GHSA-jfwf-28xr-xw6q","tags":["advisory","exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/rclone/rclone/commit/2a9e952b38e03a96bf40c9eb6e8e22199865ee3b","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/rclone/rclone/blob/bf55d5e6d37fd86164a87782191f9e1ffcaafa82/backend/webdav/webdav.go","tags":["product","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/rclone/rclone/blob/bf55d5e6d37fd86164a87782191f9e1ffcaafa82/fs/operations/rc.go","tags":["product","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/rclone/rclone/blob/bf55d5e6d37fd86164a87782191f9e1ffcaafa82/fs/rc/cache.go","tags":["product","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/rclone/rclone/releases/tag/v1.73.5","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://rclone.org/changelog/#v1-73-5-2026-04-19","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-41179","tags":["vdb-entry","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2460988","tags":["issue-tracking","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41179.json","tags":["web","x-sadp-csaf-vex"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41179","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/rclone/rclone","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/rclone/rclone/commit/9e3e68d00c3ecf475a1432fc206400cfb4df7e3f","tags":["fix"],"sources":["go"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2026-04-24T00:00:00.000Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-41179","url":"https://www.cve.org/CVERecord?id=CVE-2026-41179","licence":"CVE Terms of Use","modified":"2026-07-15T00:59:47.559Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jfwf-28xr-xw6q","url":"https://github.com/advisories/GHSA-jfwf-28xr-xw6q","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:44.588Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5466","url":"https://pkg.go.dev/vuln/GO-2026-5466","licence":"CC-BY-4.0","modified":"2026-08-14T15:42:03.369Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-41179","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41179","licence":"Public domain","modified":"2026-11-11T23:10:00.263Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-RCLONE-2026-41179","url":"https://osv.dev/vulnerability/BIT-RCLONE-2026-41179","licence":"Apache-2.0","modified":"2026-09-08T08:48:18.929Z"}],"updatedAt":"2026-11-25T22:59:19.363Z","epss":{"score":0.08585,"percentile":0.9519,"date":"2026-12-01T12:00:22.000Z"}}