VDB
EN

GO-2026-6184

Path traversal in serve restic in github.com/rclone/rclone

빠른 조치

GO-2026-6184 — github.com/rclone/rclone: 아래 명령으로 수정 버전으로 올리세요.

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

상세

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.

이 버전이 영향받나요?

사용 중인 패키지 버전을 입력하면 즉시 평가합니다.

영향 패키지

Go / github.com/rclone/rclone
최초 영향 버전: 0 수정 버전: 1.75.0
수정 go get github.com/rclone/rclone@v1.75.0

참고