CVE-2024-46989
mediumpriority · track · 21EPSS 0.003 · 21 %ileEUUSEPSS · scored 2026-10-27
spicedb is an Open Source, Google Zanzibar-inspired permissions database to enable fine-grained authorization for customer applications. Multiple caveats over the same indirect subject type on the same relation can result in no permission being returned when permission is expected. If the resource has multiple groups, and each group is caveated, it is possible for the returned permission to be "no permission" when permission is expected. Permission is returned as NO_PERMISSION when PERMISSION is expected on the CheckPermission API. This issue has been addressed in release version 1.35.3. Users are advised to upgrade. Users unable to upgrade should not use caveats or avoid the use of caveats on an indirect subject type with multiple entries.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 3.7–5.3
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-jhg6-6qrx-38mrSpiceDB having multiple caveats on resources of the same type may improperly result in no permission2024-09-18ghsa · osvUS
## Background Multiple caveats over the same indirect subject type on the same relation can result in no permission being returned when permission is expected For example, given this schema: ``` definition user {} caveat somecaveat(somefield int) { somefield == 42 } definition group { relation member: user } definition resource { relation viewer: group#member with somecaveat permission view = folder->view } ``` If the resource has multiple groups, and each group is caveated, it is possible for the returned permission to be "no permission" when permission is expected. ## Impact Permission is returned as NO_PERMISSION when PERMISSION is expected on the CheckPermission API. ## Workarounds Do not use caveats or do not use caveats on an indirect subject type with multiple entries
- GO-2024-3131SpiceDB having multiple caveats on resources of the same type may improperly result in no permission in github.com/authzed/spicedb2024-09-25vendor · osvUS
SpiceDB having multiple caveats on resources of the same type may improperly result in no permission in github.com/authzed/spicedb
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2024-46989/cnnvd
- https://github.com/authzed/spicedb/commit/d4ef8e1dbce1eafaf25847f4c0f09738820f5bf2cnnvd
- https://github.com/authzed/spicedb/releases/tag/v1.35.3Patchcnnvd
- https://github.com/authzed/spicedb/security/advisories/GHSA-jhg6-6qrx-38mrcnnvd
- https://github.com/authzed/spicedb/commit/d4ef8e1dbce1eafaf25847f4c0f09738820f5bf2enisa_euvd
- https://github.com/authzed/spicedb/security/advisories/GHSA-jhg6-6qrx-38mrenisa_euvd
- https://github.com/authzed/spicedb/commit/d4ef8e1dbce1eafaf25847f4c0f09738820f5bf2Patchnvd
- https://github.com/authzed/spicedb/security/advisories/GHSA-jhg6-6qrx-38mrThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan