CVE-2026-58372
Received Received - Intake

Path Traversal in SeaweedFS S3 Gateway

Vulnerability report for CVE-2026-58372, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-06-30

Last updated on: 2026-06-30

Assigner: VulnCheck

Description

SeaweedFS before 4.34 contains a path traversal vulnerability in the S3 gateway DeleteMultipleObjectsHandler that allows authenticated S3 principals with write access to a single bucket to delete arbitrary objects in other tenants' buckets by supplying object keys containing ../ sequences in the DeleteObjects XML request body. Attackers can bypass authorization controls through a confused deputy condition, as the validateRequestPath middleware only inspects URL-captured path variables and never examines request-body keys, allowing the filer path to collapse directory traversal sequences and resolve deletions outside the authorized bucket.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-06-30
Last Modified
2026-06-30
Generated
2026-06-30
AI Q&A
2026-06-30
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
seaweedfs seaweedfs to 4.34 (exc)
seaweedfs seaweedfs to 4.30 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Impact Analysis

This vulnerability can have serious impacts by allowing an authenticated user with write access to one bucket to delete arbitrary objects in other tenants' buckets. This breaks tenant isolation and can lead to data loss across multiple users or customers sharing the same SeaweedFS deployment.

Because the attacker can bypass authorization controls, they can cause unauthorized deletions, potentially disrupting services, causing loss of critical data, and undermining trust in the storage system's security.

Executive Summary

CVE-2026-58372 is a path traversal vulnerability in SeaweedFS versions before 4.34, specifically in the S3 gateway's DeleteMultipleObjectsHandler. Authenticated S3 users with write access to a single bucket can exploit this flaw by including directory traversal sequences (../) in the DeleteObjects XML request body. This allows them to delete objects in other tenants' buckets, bypassing authorization controls. The root cause is that the validateRequestPath middleware only checks URL path variables and does not validate keys in the request body, enabling attackers to manipulate the filer path to escape the authorized bucket.

The vulnerability arises from a confused deputy condition where the system authorizes based on the URL path but performs deletion based on the request body keys, which can contain traversal sequences. This leads to unauthorized deletion of objects outside the user's permitted bucket.

Detection Guidance

This vulnerability involves path traversal sequences (../) in the DeleteObjects XML request body sent to the SeaweedFS S3 gateway's DeleteMultipleObjectsHandler. Detection can focus on monitoring S3 DeleteObjects requests for suspicious object keys containing directory traversal patterns.

You can detect potential exploitation attempts by inspecting logs or network traffic for DeleteObjects requests with object keys that include '../' sequences.

  • Use network packet capture tools (e.g., tcpdump or Wireshark) to filter HTTP requests to the S3 gateway and search for DeleteObjects XML bodies containing '../'.
  • Example tcpdump command to capture HTTP POST requests to the S3 gateway (assuming default port 8333): tcpdump -A -s 0 'tcp port 8333 and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2)) != 0)' | grep -i 'DeleteObjects'
  • Extract and analyze the XML payloads from captured traffic or logs to identify object keys containing '../' sequences.

Additionally, review application logs for any DeleteObjects requests where object keys contain suspicious path traversal patterns.

Mitigation Strategies

The primary mitigation is to upgrade SeaweedFS to version 4.34 or later, where the vulnerability has been fixed by comprehensive input validation and path safety enforcement.

The fix includes rejecting unsafe path components in the S3 API, Iceberg, and Filer services, validating all paths touched by requests before processing, and enforcing scoped filesystem access.

Until you can upgrade, consider monitoring and blocking DeleteObjects requests containing directory traversal sequences in the request body.

Review and tighten IAM policies to limit write access to only necessary buckets and users.

Implement network-level controls such as reverse proxies or WAF rules to detect and block requests with suspicious path traversal patterns in the DeleteObjects XML body.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-58372. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart