VDB
KO

GO-2026-5596

Unauthenticated command execution in rclone rcd via inline remotes in github.com/rclone/rclone

Quick fix

GO-2026-5596 — github.com/rclone/rclone: upgrade to the fixed version with the command below.

go get github.com/rclone/rclone@v1.74.3

Details

The --rc-serve path in rclone allows unauthenticated remote instantiation, enabling unauthenticated command execution. An attacker can use inline remote backend options such as sftp ssh to run arbitrary commands as the rclone user.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go / github.com/rclone/rclone
Introduced in: 1.49.0 Fixed in: 1.74.3
Fix go get github.com/rclone/rclone@v1.74.3
Go / github.com/ncw/rclone
Introduced in: 1.46.0

No fixed version published yet for github.com/ncw/rclone (go modules). Pin to a known-safe version or switch to an alternative.

References