github.com/rclone/rclone
Affected
- introduced
0, fixed1.75.0(semver)
Fixed versions
1.75.0
Fix
- Fixed version
1.75.0go get github.com/rclone/[email protected]
Advisory
Also known as: BIT-rclone-2026-71309, CVE-2026-71309, GHSA-45pq-889g-fcgh
Path traversal in serve restic in github.com/rclone/rclone
In rclone serve restic, the WithRemote middleware fails to properly sanitize URL paths beginning with "../" or containing ".". Because path.Clean preserves leading parent directory components in relative paths, requests with leading traversal sequences bypass validation. On affected backends (such as WebDAV, FTP, SFTP, HTTP, and memory), an attacker with access to the REST endpoint can read, create, overwrite, or delete objects outside the configured root directory.
Not rated by the source.
0, fixed 1.75.0 (semver)1.75.0
1.75.0go get github.com/rclone/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: Go Vulnerability Database · CC BY 4.0