{"id":"CVE-2026-72921","aliases":["CVE-2026-72921","GHSA-gv5w-hfx8-8cwq","BIT-SEAWEEDFS-2026-72921","GO-2026-6361"],"related":[],"kind":"vulnerability","state":"published","title":"SeaweedFS: Filer JWT allowed_prefixes literal prefix match allows cross-tenant access to sibling paths","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nWhen 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`.\n\nIn 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.\n\n### Affected component\n- `weed/server/filer_server_handlers.go` (JWT `allowed_prefixes` authorization check)\n\n### Patches\nFixed 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.\n\n### Workarounds\nWhere feasible, choose prefix names that are not string-prefixes of one another (e.g. keep a trailing separator convention). Upgrade to 4.24.\n\n### References\n- Reported by Kadir Arslan (https://github.com/KadirArslan)","format":"markdown","source":"ghsa"},{"lang":"en","text":"SeaweedFS: Filer JWT allowed_prefixes literal prefix match allows cross-tenant access to sibling paths in github.com/seaweedfs/seaweedfs","format":"markdown","source":"go"}],"published":"2026-08-11T14:28:49.398Z","modified":"2026-09-10T15:25:33.076Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"version":"< 4.24","status":"affected"}],"vendor":"seaweedfs","product":"seaweedfs","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.0-20260512171048-05ed5c9ae8a2"}],"ecosystem":"Go","package":"github.com/seaweedfs/seaweedfs","purl":"pkg:golang/github.com/seaweedfs/seaweedfs","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.0-20260512171048-05ed5c9ae8a2"}],"ecosystem":"Go","package":"github.com/seaweedfs/seaweedfs","purl":"pkg:golang/github.com/seaweedfs/seaweedfs","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"4.24.0"}],"ecosystem":"Bitnami","package":"seaweedfs","purl":"pkg:bitnami/seaweedfs","source":"bitnami"}],"references":[{"url":"https://github.com/seaweedfs/seaweedfs/security/advisories/GHSA-gv5w-hfx8-8cwq","tags":["advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/seaweedfs/seaweedfs/pull/9439","tags":["fix","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/seaweedfs/seaweedfs/commit/05ed5c9ae8a2a45101b52b61d02f170d20d587ff","tags":["fix","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/seaweedfs/seaweedfs/releases/tag/4.24","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72921","tags":["advisory","web"],"sources":["ghsa","go","bitnami"]},{"url":"https://github.com/seaweedfs/seaweedfs","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-08-13T15:14:42.258Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72921","url":"https://www.cve.org/CVERecord?id=CVE-2026-72921","licence":"CVE Terms of Use","modified":"2026-08-13T15:14:54.202Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-gv5w-hfx8-8cwq","url":"https://github.com/advisories/GHSA-gv5w-hfx8-8cwq","licence":"CC-BY-4.0","modified":"2026-09-10T15:25:33.076Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-6361","url":"https://pkg.go.dev/vuln/GO-2026-6361","licence":"CC-BY-4.0","modified":"2026-09-10T15:25:33.076Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72921","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72921","licence":"Public domain","modified":"2026-09-09T20:46:02.457Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-SEAWEEDFS-2026-72921","url":"https://osv.dev/vulnerability/BIT-SEAWEEDFS-2026-72921","licence":"Apache-2.0","modified":"2026-09-10T15:25:33.076Z"}],"updatedAt":"2026-11-25T22:59:32.258Z","epss":{"score":0.00239,"percentile":0.16011,"date":"2026-12-01T12:00:22.000Z"}}