"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
rc: snapshot NoAuth at startup to prevent runtime auth bypass CVE-2026-41176
Nick Craig-Wood08490972a53e
diff --git a/fs/rc/rcserver/rcserver.go b/fs/rc/rcserver/rcserver.goindex 745a66c07..9c00afe95 100644--- a/fs/rc/rcserver/rcserver.go+++ b/fs/rc/rcserver/rcserver.go@@ -53,6 +53,7 @@ type Server struct {files http.HandlerpluginsHandler http.Handleropt *rc.Options+ noAuth bool // snapshot of opt.NoAuth at startup to prevent runtime mutation}func newServer(ctx context.Context, opt *rc.Options, mux *http.ServeMux) (*Server, error) {@@ -104,6 +105,7 @@ func newServer(ctx context.Context, opt *rc.Options, mux *http.ServeMux) (*Serveopt: opt,files: fileHandler,pluginsHandler: pluginsHandler,+ noAuth: opt.NoAuth,}var err error@@ -263,7 +265,7 @@ func (s *Server) handlePost(w http.ResponseWriter, r *http.Request, path string)}// Check to see if it requires authorisation- if !s.opt.NoAuth && call.AuthRequired && !s.server.UsingAuth() {+ if !s.noAuth && call.AuthRequired && !s.server.UsingAuth() {writeError(path, in, w, fmt.Errorf("authentication must be set up on the rc server to use %q or the --rc-no-auth flag must be in use", path), http.StatusForbidden)return}