Files
rclone/docs/content
Nick Craig-Wood 3f8764db81 rc: refuse inline remotes and connection string parameters in --rc-serve URLs
With --rc-serve a GET of a URL such as /[:sftp,ssh=cmd:]/ instantiated
the inline remote, which runs a command, provided the rc had
authentication configured or --rc-no-auth was in use.

A web page can make a browser send such a GET with an <img> tag, and
the browser will add any credentials it has cached for the rc.
Browsers only mark these requests as cross-origin when they are sent to
localhost or over HTTPS, so for an rc server on another address rclone
could not tell the request came from a web page.

Inline remotes and connection string parameters in --rc-serve URLs are
now always refused. Remotes in the config file can still be served,
as can bare local paths if authentication is configured or
--rc-no-auth is in use.

The exception is [:local:/path] without parameters, which is the same
as the bare local path [/path] and is treated as one. rclone-ui uses
this form to preview local files.

This changes the rule introduced for CVE-2026-49980 where
authentication or --rc-no-auth allowed everything on the serve path.
2026-11-17 16:48:10 +00:00
..
2026-11-06 14:37:03 +00:00
2026-11-06 14:37:03 +00:00
2026-11-08 13:20:44 +00:00
2026-11-05 12:52:29 +00:00
2026-11-06 14:37:03 +00:00
2026-11-06 14:37:03 +00:00
2026-11-06 14:37:03 +00:00
2026-07-31 16:56:33 +01:00
2026-11-06 14:37:03 +00:00
2026-11-12 21:52:51 +01:00
2026-04-02 16:32:54 +01:00
2026-07-31 16:56:33 +01:00
2026-11-06 14:37:03 +00:00
2026-07-31 16:56:33 +01:00
2026-10-13 12:17:17 +01:00
2026-05-01 15:56:56 +01:00
2026-11-06 14:37:03 +00:00
2026-10-13 12:17:17 +01:00
2026-07-31 16:56:33 +01:00
2026-07-31 16:56:33 +01:00
2026-04-02 16:32:54 +01:00
2026-11-06 14:37:03 +00:00
2026-07-31 16:56:33 +01:00
2026-07-31 16:56:33 +01:00
2026-11-06 14:37:03 +00:00
2026-07-31 16:56:33 +01:00
2026-07-31 16:56:33 +01:00
2026-04-21 21:06:49 +02:00
2026-11-06 14:37:03 +00:00
2026-07-31 16:56:33 +01:00
2026-07-31 16:56:33 +01:00
2026-11-12 21:52:51 +01:00
2026-11-06 14:37:03 +00:00
2026-11-06 14:37:03 +00:00
2026-11-02 16:16:21 +00:00
2026-11-06 14:37:03 +00:00
2026-11-06 14:37:03 +00:00
2026-11-06 14:37:03 +00:00
2026-07-31 16:56:33 +01:00