Junglewise Threat Intelligence

CVE-2026-58372: SeaweedFS path traversal in S3 gateway DeleteMultipleObjectsHandler

CVE-2026-58372 · Severity: high · CVSS 8.1 · Published 2026-06-30

Executive brief

SeaweedFS, a distributed storage system, contains a security flaw in its S3-compatible gateway. An authenticated user with permission to write to a single storage bucket can exploit this flaw to delete files in other users' or tenants' buckets. This could lead to unauthorized data loss and disruption of service across a shared storage environment.

Technical details

A path traversal vulnerability exists in the SeaweedFS S3 gateway's DeleteMultipleObjectsHandler. The root cause is a 'confused deputy' condition where the validateRequestPath middleware only validates URL-captured path variables but fails to inspect object keys within the XML request body. An attacker can provide object keys containing '../' sequences which are subsequently collapsed by the filer path logic, resolving to locations outside the authorized bucket. This allows an authenticated user with limited bucket access to perform cross-tenant object deletion. The issue is fixed in version 4.34 by implementing stricter validation of indirect filer path inputs.

Affected products

  • SeaweedFS SeaweedFS < 4.34

Timeline

  • 2026-06-11: patched: Fix committed to master branch
  • 2026-06-30: disclosed: CVE published

References

Related threats