Path traversal in rclone - #VU140645
Published: August 1, 2026
Vulnerability details
The vulnerability allows a remote user to access, create, overwrite, or delete objects outside the configured backend root.
The vulnerability exists due to path traversal in WithRemote middleware in cmd/serve/restic/restic.go when handling crafted REST endpoint paths beginning with ../. A remote user can send a specially crafted request to access, create, overwrite, or delete objects outside the configured backend root.
Exploitation requires access to the REST endpoint, a published backend subdirectory, and backend credentials with access to parent or sibling objects; the exact effects depend on backend path semantics.