Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/seaweedfs/seaweedfs
  4. ›
  5. CVE-2026-54917

CVE-2026-54917: SeaweedFS: Path traversal in the S3 and Iceberg REST gateways allows cross-bucket access

August 12, 2026

The S3 API gateway and the Iceberg REST catalog gateway construct their routers with mux.NewRouter().SkipClean(true). With path cleaning disabled, a .. segment inside the URL survives routing, so a request such as:

GET /bucket-A/../evil-bucket/key

is matched as bucket=bucket-A, object=../evil-bucket/key. The captured object key is then joined into a filer path with util.JoinPath (S3) / path.Join (Iceberg), which collapse the .. server-side, so the actual read or write lands in evil-bucket.

The captured path variables were never validated for traversal segments before reaching the handlers, so bucket isolation depended on downstream checks rather than on the path itself.

References

  • github.com/advisories/GHSA-w62w-66v9-vvgv
  • github.com/seaweedfs/seaweedfs/commit/dd1b4287899eed3dfd73c2f3b1de001996fda229
  • github.com/seaweedfs/seaweedfs/pull/9687
  • github.com/seaweedfs/seaweedfs/security/advisories/GHSA-w62w-66v9-vvgv
  • nvd.nist.gov/vuln/detail/CVE-2026-54917

Code Behaviors & Features

Detect and mitigate CVE-2026-54917 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 0.0.0-20260526080459-dd1b4287899e

Fixed versions

  • 0.0.0-20260526080459-dd1b4287899e

Solution

Upgrade to version 0.0.0-20260526080459-dd1b4287899e or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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/seaweedfs/seaweedfs/CVE-2026-54917.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 05 Sep 2026 12:16:27 +0000.