What’s Vulnerable › Vulnerabilities
CVE-2024-38361: Permissions processing error in spacedb
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-06-20 · updated 2026-06-17
- Weakness: CWE-281
Description
Spicedb is an Open Source, Google Zanzibar-inspired permissions database to enable fine-grained authorization for customer applications. Use of an exclusion under an arrow that has multiple resources may resolve to `NO_PERMISSION` when permission is expected. If the resource exists under *multiple* folders and the user has access to view more than a single folder, SpiceDB may report the user does not have access due to a failure in the exclusion dispatcher to request that *all* the folders in which the user is a member be returned. Permission is returned as `NO_PERMISSION` when `PERMISSION` is expected on the `CheckPermission` API. This issue has been addressed in version 1.33.1. All users are advised to upgrade. There are no known workarounds for this issue.
Affected products
- authzed spicedb: before 1.33.1 — fixed in 1.33.1
How to fix
Upgrade to a fixed version: authzed spicedb 1.33.1. Check the vendor advisory for mitigations.
References
- https://github.com/authzed/spicedb/commit/ecef31d2b266fde17eb2c3415e2ec4ceff96fbeb
- https://github.com/authzed/spicedb/security/advisories/GHSA-grjv-gjgr-66g2
- https://github.com/authzed/spicedb/commit/ecef31d2b266fde17eb2c3415e2ec4ceff96fbeb
- https://github.com/authzed/spicedb/security/advisories/GHSA-grjv-gjgr-66g2
Get alerted when CVE-2024-38361 or the next vulnerability affects your stack