CVE-2026-72921
JSON

8.1high

SeaweedFS: Filer JWT allowed_prefixes literal prefix match allows cross-tenant access to sibling paths

Severity
8.1high CVSS:3.1 by GitHub_M
Exploit likelihood
0.24% (higher than 16% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-gv5w-hfx8-8cwqBIT-SEAWEEDFS-2026-72921GO-2026-6361

Description

SeaweedFS is a distributed storage system. Prior to 4.24, the weed/server/filer_server_handlers.go allowed_prefixes authorization check used strings.HasPrefix on raw path strings, so a filer JWT scoped to /tenant1 also authorized sibling paths such as /tenant1234, /tenant1-old, and /tenant1backup, enabling cross-tenant reads and writes with a valid scoped token. This issue is fixed in version 4.24.

Affected

Product or packageVersionsReported by
seaweedfs seaweedfs< 4.24CVE List
github.com/seaweedfs/seaweedfs (Go)before 0.0.0-20260512171048-05ed5c9ae8a2GitHub Advisory Database, Go Vulnerability Database
seaweedfs (Bitnami)before 4.24.0Bitnami Vulnerability Database

All scores

GitHub_M8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
GitHub8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Bitnami Vulnerability Databasehigh rating

Classification

CWE-863

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

SeaweedFS is a distributed storage system. Prior to 4.24, the weed/server/filer_server_handlers.go allowed_prefixes authorization check used strings.HasPrefix on raw path strings, so a filer JWT scoped to /tenant1 also authorized sibling paths such as /tenant1234, /tenant1-old, and /tenant1backup, enabling cross-tenant reads and writes with a valid scoped token. This issue is fixed in version 4.24.

GitHub Advisory Database
Impact

When a filer JWT restricts a token to a set of path prefixes via allowed_prefixes, the authorization check used a literal byte-prefix match (strings.HasPrefix). A token scoped to /tenant1 therefore also authorized requests to sibling paths such as /tenant1234, /tenant1-old, and /tenant1backup.

In a multi-tenant deployment this lets the holder of one tenant's token access another tenant's data. Because allowed_prefixes gates both read and write tokens, the impact covers cross-tenant reads and writes. A valid scoped token is required, so this is an authorization bypass rather than a fully unauthenticated flaw.

Affected component
  • weed/server/filer_server_handlers.go (JWT allowed_prefixes authorization check)
Patches

Fixed in 4.24. The check now matches on /-separated path components after path.Clean normalisation, so /tenant1 authorizes only /tenant1 and its descendants — not /tenant1234 or other sibling paths.

Workarounds

Where feasible, choose prefix names that are not string-prefixes of one another (e.g. keep a trailing separator convention). Upgrade to 4.24.

References
Go Vulnerability Database

SeaweedFS: Filer JWT allowed_prefixes literal prefix match allows cross-tenant access to sibling paths in github.com/seaweedfs/seaweedfs

References

Sources

SourceRecordLicence
CVE ListCVE-2026-72921 changed 2026-08-13CVE Terms of Use
GitHub Advisory DatabaseGHSA-gv5w-hfx8-8cwq changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2026-6361 changed 2026-09-10CC-BY-4.0
NVDCVE-2026-72921 changed 2026-09-09Public domain
Bitnami Vulnerability DatabaseBIT-SEAWEEDFS-2026-72921 changed 2026-09-10Apache-2.0