CVE-2026-54917
SeaweedFS: Path traversal in the S3 and Iceberg REST gateways allows cross-bucket access
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, Bitnami. Rated lower by GHSA (high).
Description
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | seaweedfs | 4.30.0 |
| go::GitHub Security Advisory Go | github.com/seaweedfs/seaweedfs | 0.0.0-20260526080459-dd1b4287899e |
| minimos | seaweedfs-cosi-driver, seaweedfs-cosi-driver-fips | 0.3.1-r7 |
Show all 4 entries from 3 sources
| Source | Package | Fixed in |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | seaweedfs | 4.30.0 |
| go::GitHub Security Advisory Go | github.com/seaweedfs/seaweedfs | 0.0.0-20260526080459-dd1b4287899e |
| minimos | seaweedfs-cosi-driver | 0.3.1-r7 |
| minimos | seaweedfs-cosi-driver-fips | 0.3.1-r7 |