Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/rclone/rclone
  4. ›
  5. GHSA-8v25-v8p6-qf7v

GHSA-8v25-v8p6-qf7v: rclone: Path traversal in serve s3 allows reading and overwriting root-level files

August 5, 2026

rclone serve s3 allows a client to read and write files at the root of the remote which would normally be inaccessible by using dot-dot path segments in the object key. It does not allow reading files outside of the root. A request such as GET /bucket/../root-secret.txt is handled as an object request for bucket “bucket”, but rclone normalizes the backend path and reads root-secret.txt from the serve root. The same issue also allows overwriting root-level files with PUT.

References

  • github.com/advisories/GHSA-8v25-v8p6-qf7v
  • github.com/rclone/rclone/commit/83d1e62aa9e0dbd10a5d7eb34c117ae997268cdf
  • github.com/rclone/rclone/commit/c89b766cf417fddbe7eace40d31262ecb85bfa93
  • github.com/rclone/rclone/releases/tag/v1.74.4
  • github.com/rclone/rclone/security/advisories/GHSA-8v25-v8p6-qf7v

Code Behaviors & Features

Detect and mitigate GHSA-8v25-v8p6-qf7v with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.74.4

Fixed versions

  • 1.74.4

Solution

Upgrade to version 1.74.4 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

go/github.com/rclone/rclone/GHSA-8v25-v8p6-qf7v.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 11 Aug 2026 12:22:27 +0000.