SeaweedFS: Path traversal in the S3 and Iceberg REST gateways allows cross-bucket access (CVE-2026-54917)
SeaweedFS versions prior to 4.30 contain a path traversal vulnerability in the S3 API gateway and Iceberg REST catalog gateway. This flaw allows an attacker to bypass bucket isolation by including '..' segments in object keys, enabling cross-bucket read and write operations. When authentication is disabled, this leads to direct unauthorized access. When authentication is enabled, the authorization check is performed on the original bucket name, but the I/O occurs on the traversed bucket, breaking tenant isolation. The issue is fixed in version 4.30 by adding validation middleware to reject traversal segments in path variables.
AI Analysis
Technical Summary
SeaweedFS's S3 API gateway and Iceberg REST catalog gateway use routers configured with path cleaning disabled, allowing '..' segments in URLs to survive routing. This enables requests like GET /bucket-A/../evil-bucket/key to be interpreted as accessing 'evil-bucket' instead of 'bucket-A'. The captured object key is joined into a filer path where '..' collapses to the target bucket, bypassing bucket isolation. With authentication disabled, this allows direct cross-bucket access. With authentication enabled, IAM policies are evaluated against the original bucket name, but the actual I/O is performed on the traversed bucket, causing an authorization confused-deputy issue. The vulnerability affects all SeaweedFS releases prior to 4.30 and is patched in 4.30 by adding validation middleware that rejects path variables containing traversal segments or invalid characters.
Potential Impact
This vulnerability allows unauthorized cross-bucket read and write operations. Without authentication, attackers can directly access and modify objects in any bucket by exploiting path traversal. With authentication enabled, attackers authorized for one bucket can access objects in other buckets they are not authorized for, breaking tenant isolation and potentially exposing sensitive data or allowing unauthorized data manipulation.
Mitigation Recommendations
Upgrade SeaweedFS to version 4.30 or later, which includes a fix that adds validation middleware rejecting path variables containing '..' or '.' segments, NUL bytes, embedded slashes/backslashes in single-segment slots, or empty values. For environments unable to upgrade immediately, deploy a reverse proxy in front of the gateway to normalize request paths and reject requests containing '..', '%2e%2e', or backslash sequences. Do not rely on deployments with authentication disabled for protection, as this removes the only remaining barrier.
SeaweedFS: Path traversal in the S3 and Iceberg REST gateways allows cross-bucket access (CVE-2026-54917)
Description
SeaweedFS versions prior to 4.30 contain a path traversal vulnerability in the S3 API gateway and Iceberg REST catalog gateway. This flaw allows an attacker to bypass bucket isolation by including '..' segments in object keys, enabling cross-bucket read and write operations. When authentication is disabled, this leads to direct unauthorized access. When authentication is enabled, the authorization check is performed on the original bucket name, but the I/O occurs on the traversed bucket, breaking tenant isolation. The issue is fixed in version 4.30 by adding validation middleware to reject traversal segments in path variables.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
SeaweedFS's S3 API gateway and Iceberg REST catalog gateway use routers configured with path cleaning disabled, allowing '..' segments in URLs to survive routing. This enables requests like GET /bucket-A/../evil-bucket/key to be interpreted as accessing 'evil-bucket' instead of 'bucket-A'. The captured object key is joined into a filer path where '..' collapses to the target bucket, bypassing bucket isolation. With authentication disabled, this allows direct cross-bucket access. With authentication enabled, IAM policies are evaluated against the original bucket name, but the actual I/O is performed on the traversed bucket, causing an authorization confused-deputy issue. The vulnerability affects all SeaweedFS releases prior to 4.30 and is patched in 4.30 by adding validation middleware that rejects path variables containing traversal segments or invalid characters.
Potential Impact
This vulnerability allows unauthorized cross-bucket read and write operations. Without authentication, attackers can directly access and modify objects in any bucket by exploiting path traversal. With authentication enabled, attackers authorized for one bucket can access objects in other buckets they are not authorized for, breaking tenant isolation and potentially exposing sensitive data or allowing unauthorized data manipulation.
Mitigation Recommendations
Upgrade SeaweedFS to version 4.30 or later, which includes a fix that adds validation middleware rejecting path variables containing '..' or '.' segments, NUL bytes, embedded slashes/backslashes in single-segment slots, or empty values. For environments unable to upgrade immediately, deploy a reverse proxy in front of the gateway to normalize request paths and reject requests containing '..', '%2e%2e', or backslash sequences. Do not rely on deployments with authentication disabled for protection, as this removes the only remaining barrier.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-w62w-66v9-vvgv
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-54917"]
- Ecosystems
- ["Go"]
- Database Specific Severity
- HIGH
- Cvss Version
- 4.0
Threat ID: 6a7cd3debf8831d53917fb36
Added to database: 08/12/2026, 20:13:18 UTC
Last enriched: 08/12/2026, 21:11:50 UTC
Last updated: 08/13/2026, 00:41:13 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.