SpiceDB: Caveat structures with nested lists can result in improper cache reuse
cve-program · CVE-2026-46668
PublishedSpiceDB is an open source database system for creating and managing security-critical application permissions. From version 1.15.0 to before version 1.52.0, caveat structures with nested lists can result in improper cache reuse. This issue has been patched in version 1.52.0.
Read the publisher's advisoryeuvd · EUVD-2026-36122
PublishedSpiceDB is an open source database system for creating and managing security-critical application permissions. From version 1.15.0 to before version 1.52.0, caveat structures with nested lists can result in improper cache reuse. This issue has been patched in version 1.52.0.
Read the publisher's advisorynvd · CVE-2026-46668
PublishedSpiceDB is an open source database system for creating and managing security-critical application permissions. From version 1.15.0 to before version 1.52.0, caveat structures with nested lists can result in improper cache reuse. This issue has been patched in version 1.52.0.
Read the publisher's advisoryosv · GHSA-mqcf-gqvg-rmhm
Published### Impact Users are impacted if: - They have a caveat structure with a nested list, e.g.: ```zed caveat shape(x list<any>) { x == [["a"], "b"] } ``` - Their system exercises that caveat with either [CheckBulkPermission](https://buf.build/authzed/api/docs/main%3Aauthzed.api.v1#authzed.api.v1.PermissionsService.CheckBulkPermissions) or else [LookupResources](https://buf.build/authzed/api/docs/main%3Aauthzed.api.v1#authzed.api.v1.PermissionsService.LookupResources) running with the `--experimental-lookup-resources-version` flag set to `lr3`, implying they are using the experimental version 3 of `LookupResources` - An attacker can cause the system to craft a request to SpiceDB where either: 1. It's a `CheckBulk` request where there are two check items that are identical except for their combined caveat context, and one of the caveat contexts evaluates positively and the other evaluates negatively 2. It's a `LookupResources` request where two resources have the same evaluation contents except for their caveat context, and one would evaluate positively and the other would evaluate negatively If all of the above are true, it would be possible for SpiceDB to erroneously return that a user has access to a resource that they do not have access to. ### Patches This problem was addressed in https://github.com/authzed/spicedb/pull/3065 and released in version v1.52.0. ### Workarounds If using v3 of `LookupResources`, turn the flag off. If possible, refactor the `caveat` declaration structure so that it does not operate on a list of lists, but rather any other composite structure.
Read the publisher's advisoryosv · GO-2026-5514
PublishedSpiceDB: Caveat structures with nested lists can result in improper cache reuse in github.com/authzed/spicedb
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-46668 · CVE overview and exploitation status
cve-program · CVE-2026-46668
- https://github.com/authzed/spicedb/security/advisories/GHSA-mqcf-gqvg-rmhm
- https://github.com/authzed/spicedb/pull/3065
- https://github.com/authzed/spicedb/releases/tag/v1.52.0
euvd · EUVD-2026-36122
- https://github.com/authzed/spicedb/security/advisories/GHSA-mqcf-gqvg-rmhm
- https://github.com/authzed/spicedb/pull/3065
- https://github.com/authzed/spicedb/releases/tag/v1.52.0
nvd · CVE-2026-46668
- https://github.com/authzed/spicedb/pull/3065
- https://github.com/authzed/spicedb/releases/tag/v1.52.0
- https://github.com/authzed/spicedb/security/advisories/GHSA-mqcf-gqvg-rmhm
osv · GHSA-mqcf-gqvg-rmhm
- https://github.com/authzed/spicedb/security/advisories/GHSA-mqcf-gqvg-rmhm
- https://nvd.nist.gov/vuln/detail/CVE-2026-46668
- https://github.com/authzed/spicedb/pull/3065
- https://github.com/authzed/spicedb
- https://github.com/authzed/spicedb/releases/tag/v1.52.0
osv · GO-2026-5514
Related changes
Linked by CVE identifierNo related changes are available here.