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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: None; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: High; Integrity impact on other systems: High; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.64% (percentile 77, 2026-11-26)
- **CWE:** CWE-22
- **Aliases:** BIT-seaweedfs-2026-54917, BIT-seaweedfs-2026-58372, CVE-2026-58372, GHSA-w62w-66v9-vvgv, GO-2026-6221
- **Published:** 2026-06-25T18:41:19.111Z
- **Modified:** 2026-11-08T14:06:57.487Z

## Who should check

- Projects that depend on Go package github.com/seaweedfs/seaweedfs (\< 0.0.0-20260526080459-dd1b4287899e)
- Anyone running seaweedfs \< 4.30

## 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.

## Affected and fixed versions

- Go `github.com/seaweedfs/seaweedfs`: affected \< 0.0.0-20260526080459-dd1b4287899e; fixed 0.0.0-20260526080459-dd1b4287899e (osv)
- seaweedfs: \< 4.30 (cvelist)

## Mitigation

- Upgrade github.com/seaweedfs/seaweedfs to 0.0.0-20260526080459-dd1b4287899e or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-54917. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-54917.md
Affected: github.com/seaweedfs/seaweedfs < 0.0.0-20260526080459-dd1b4287899e
Fixed in: 0.0.0-20260526080459-dd1b4287899e

Steps:
1. Search this machine and project for github.com/seaweedfs/seaweedfs (Go), seaweedfs: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-54917 being exploited?

There is no confirmed exploitation: CVE-2026-54917 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 1.64% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-54917?

High: CVSS 7.8 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-54917?

github.com/seaweedfs/seaweedfs \< 0.0.0-20260526080459-dd1b4287899e.

### Is there a fix for CVE-2026-54917?

Yes. Fixed in 0.0.0-20260526080459-dd1b4287899e. Upgrade github.com/seaweedfs/seaweedfs to 0.0.0-20260526080459-dd1b4287899e or later.

### How do I check if I'm affected by CVE-2026-54917?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/seaweedfs/seaweedfs/security/advisories/GHSA-w62w-66v9-vvgv>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-54917>
- patch: <https://github.com/seaweedfs/seaweedfs/pull/9687>
- patch: <https://github.com/seaweedfs/seaweedfs/pull/9931>
- patch: <https://github.com/seaweedfs/seaweedfs/commit/0345658ea8e7c6a3948ad190634b00866ec244c9>
- patch: <https://github.com/seaweedfs/seaweedfs/commit/dd1b4287899eed3dfd73c2f3b1de001996fda229>
- exploit: <https://github.com/geo-chen/oss/blob/main/seaweedfs.md>
- other: <https://github.com/seaweedfs/seaweedfs/releases/tag/4.34>
- other: <https://www.vulncheck.com/advisories/seaweedfs-cross-bucket-object-deletion-via-deleteobjects-request-body-keys>
- other: <https://github.com/seaweedfs/seaweedfs>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-54917>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-w62w-66v9-vvgv> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2026-6221> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-54917> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-54917>
