Directory Traversal Affecting seaweedfs-cosi-driver package, versions <0.3.1-r7


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
1.64% (76th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-MINIMOSLATEST-SEAWEEDFSCOSIDRIVER-18853017
  • published16 Aug 2026
  • disclosed25 Jun 2026

Introduced: 25 Jun 2026

CVE-2026-54917  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Minimos:latest seaweedfs-cosi-driver to version 0.3.1-r7 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream seaweedfs-cosi-driver package and not the seaweedfs-cosi-driver package as distributed by Minimos. See How to fix? for Minimos:latest relevant fixed versions and status.

SeaweedFS is a distributed storage system for object storage (S3), file systems, and Iceberg tables. Prior to 4.30, 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. This vulnerability is fixed in 4.30.