SeaweedFS: Filer JWT allowed_prefixes literal prefix match allows cross-tenant access to sibling paths (CVE-2026-72921)
Description
SeaweedFS contains an authorization bypass vulnerability in its filer JWT allowed_prefixes implementation. The flaw arises because the authorization check uses a literal byte-prefix match, allowing tokens scoped to a path prefix like /tenant1 to also access sibling paths such as /tenant1234 or /tenant1backup. This enables cross-tenant read and write access in multi-tenant deployments. The issue is fixed in SeaweedFS version 4.24 by normalizing paths and matching on path components rather than raw string prefixes.
CVSS v3.1
Score 8.1high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in SeaweedFS (CVE-2026-72921) affects the filer JWT authorization mechanism where the allowed_prefixes check uses a literal string prefix match (strings.HasPrefix). This causes tokens scoped to a prefix such as /tenant1 to also authorize access to sibling paths with similar prefixes (e.g., /tenant1234), resulting in cross-tenant authorization bypass. Both read and write operations are affected. The flaw is in the filer_server_handlers.go component. The fix, introduced in version 4.24, changes the check to match on /-separated path components after path.Clean normalization, restricting tokens to their exact prefix and descendants only.
Potential Impact
An attacker with a valid JWT token scoped to one tenant can access data belonging to other tenants by exploiting the prefix matching flaw. This leads to unauthorized cross-tenant read and write access, compromising data confidentiality and integrity within multi-tenant SeaweedFS deployments. The vulnerability requires a valid scoped token, so it is an authorization bypass rather than unauthenticated access.
Mitigation Recommendations
A patch is available in SeaweedFS version 4.24 that fixes the authorization check to correctly match path components. Users should upgrade to version 4.24 or later. As a workaround, where feasible, tenants should choose prefix names that are not string-prefixes of one another, for example by using a trailing separator convention to avoid ambiguous prefix matches.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-gv5w-hfx8-8cwq
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-72921"]
- Ecosystems
- ["Go"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a998f69acd9273b49193531
Added to database: 09/03/2026, 15:16:57 UTC
Last enriched: 09/07/2026, 17:37:14 UTC
Last updated: 10/17/2026, 06:48:20 UTC
Views: 54
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.