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 package | Versions | Reported by |
|---|---|---|
| seaweedfs seaweedfs | < 4.24 | CVE List |
| github.com/seaweedfs/seaweedfs (Go) | before 0.0.0-20260512171048-05ed5c9ae8a2 | GitHub Advisory Database, Go Vulnerability Database |
| seaweedfs (Bitnami) | before 4.24.0 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| Bitnami Vulnerability Database | high rating |
Classification
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(JWTallowed_prefixesauthorization 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
- Reported by Kadir Arslan (https://github.com/KadirArslan)
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-72921 changed 2026-08-13 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-gv5w-hfx8-8cwq changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-6361 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-72921 changed 2026-09-09 | Public domain |
| Bitnami Vulnerability Database | BIT-SEAWEEDFS-2026-72921 changed 2026-09-10 | Apache-2.0 |