Users are impacted if:
caveat shape(x list<any>) {
x == [["a"], "b"]
}
--experimental-lookup-resources-version flag set to lr3, implying they are using the experimental version 3 of LookupResourcesCheckBulk 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 negativelyLookupResources request where two resources have the same evaluation contents except for their caveat context, and one would evaluate positively and the other would evaluate negativelyIf 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.
This problem was addressed in https://github.com/authzed/spicedb/pull/3065 and released in version v1.52.0.
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.
{
"cwe_ids": [
"CWE-285"
],
"github_reviewed": true,
"github_reviewed_at": "2026-05-21T20:28:43Z",
"nvd_published_at": "2026-06-10T22:16:59Z",
"severity": "LOW"
}