Skip to main content
EPSS 0.4%top 65%

SeaweedFS: Filer JWT allowed_prefixes literal prefix match allows cross-tenant access to sibling paths (CVE-2026-72921)

0
High
Published: 09/02/2026 (09/02/2026, 23:42:05 UTC)
Source: GCVE Database
Product: github.com/seaweedfs/seaweedfs

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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Affected software

Goghsa
github.com/seaweedfs/seaweedfs
Affected versions
<0.0.0-20260512171048-05ed5c9ae8a2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 17:37:14 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses