CVE-2026-54917: Cross-Bucket Path Traversal and Authorization Bypass in SeaweedFS S3 and Iceberg Gateways
Vulnerability ID: CVE-2026-54917
CVSS Score: 10.0
Published: 2026-08-12
CVE-2026-54917 is a critical path traversal and authorization bypass vulnerability affecting the S3 and Iceberg REST catalog gateways in SeaweedFS. By explicitly disabling canonical path cleaning in the gorilla/mux routing system, relative path segments such as '..' are allowed to bypass routing constraints and access control checks. When these paths are collapsed server-side by the backend filer, they resolve to folders outside the authorized bucket boundary, allowing unauthorized cross-bucket access.
TL;DR
SeaweedFS gateways disable routing path cleaning, allowing '..' segments to reach the backend. This permits users with access to a single bucket to bypass IAM boundaries and read/write files in any other bucket on the cluster.
⚠️ Exploit Status: POC
Technical Details
- CWE ID: CWE-22
- Attack Vector: Network
- CVSS Score: 10.0
- Exploit Status: Proof-of-Concept Available
- CISA KEV Status: Not Listed
Affected Systems
- SeaweedFS S3 API Gateway
- SeaweedFS Iceberg REST Catalog Gateway
-
SeaweedFS: < 4.30 (Fixed in:
4.30)
Code Analysis
Commit: dd1b428
Implement request path validation to reject relative path segments (..)
Exploit Details
- GitHub: No description
Mitigation Strategies
- Upgrade all SeaweedFS deployments to version 4.30 or later.
- Disable multi-tenant environments if immediate patching is not possible.
- Restrict S3 and Iceberg port access using host-based firewalls or network access control lists.
Remediation Steps:
- Audit existing deployments to locate all S3 API and Iceberg gateway configurations.
- Acquire the updated SeaweedFS package or container image (version 4.30 or higher).
- Apply the patch and restart the gateway services ('weed s3' or 'weed server').
- Verify remediation by attempting signed traversal requests and confirming they return HTTP 400.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-54917
- https://github.com/seaweedfs/seaweedfs/security/advisories/GHSA-w62w-66v9-vvgv
- https://github.com/seaweedfs/seaweedfs/pull/9687
- https://github.com/seaweedfs/seaweedfs/commit/dd1b4287899eed3dfd73c2f3b1de001996fda229
Read the full report for CVE-2026-54917 on our website for more details including interactive diagrams and full exploit analysis.
Top comments (0)