SeaweedFS: Path traversal in the S3 gateway X-Amz-Copy-Source header allows cross-bucket object read (CVE-2026-55874)
Description
SeaweedFS S3 gateway versions prior to 4.34 contain a path traversal vulnerability in the X-Amz-Copy-Source header used by CopyObject and UploadPartCopy operations. This flaw allows an attacker authorized on one bucket to read objects from other buckets by exploiting improper validation of path segments in the copy source header. The vulnerability breaks bucket isolation, enabling cross-bucket object reads. The issue was fixed in version 4.34 by validating the copy-source bucket and object key to reject traversal segments.
CVSS v3.1
Score 7.7high
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
The SeaweedFS S3 API gateway did not properly validate '..' path segments in the X-Amz-Copy-Source header used by CopyObject and UploadPartCopy. While the request URL path was hardened in version 4.30, the copy-source header was only checked for emptiness, allowing traversal segments to resolve into different buckets on the server-side filer path. This leads to a confused-deputy authorization bypass where IAM policies are evaluated against the destination bucket, but the copy source can be from any bucket, allowing an identity scoped to a single bucket to read objects from other buckets. The vulnerability affects all versions prior to 4.34. The fix in 4.34 applies validation to the copy-source header using the same checks as the request URL, rejecting traversal segments before processing.
Potential Impact
This vulnerability allows an attacker with read/write permissions on a single bucket to bypass bucket isolation and read objects from any other bucket on the SeaweedFS instance. This results in unauthorized disclosure of data across buckets. The impact is limited to confidentiality (C), with no integrity or availability impact. The vulnerability requires the attacker to have some level of permission on a bucket but enables escalation of read access to other buckets.
Mitigation Recommendations
Upgrade SeaweedFS to version 4.34 or later, where the vulnerability is fixed by validating the X-Amz-Copy-Source header to reject path traversal segments. For environments unable to upgrade immediately, deploy a reverse proxy in front of the gateway to block requests containing '..', '%2e%2e', or backslash sequences in the X-Amz-Copy-Source header. No other configuration workarounds are available.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BIT-seaweedfs-2026-55874
- Osv Schema Version
- 1.6.2
- Aliases
- ["CVE-2026-55874"]
- Ecosystems
- ["Bitnami"]
- Database Specific Severity
- High
Threat ID: 6a561c4868715ace4365a171
Added to database: 07/14/2026, 11:23:52 UTC
Last enriched: 09/12/2026, 15:02:46 UTC
Last updated: 10/12/2026, 18:48:21 UTC
Views: 129
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.