Skip to main content

SpiceDB CVE-2026-46668

LOW
Improper Authorization (CWE-285)
2026-05-21 https://github.com/authzed/spicedb GHSA-mqcf-gqvg-rmhm

Lifecycle Timeline

2
Source Code Evidence Fetched
May 21, 2026 - 21:02 vuln.today
Analysis Generated
May 21, 2026 - 21:02 vuln.today

DescriptionNVD

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 or else 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.

AnalysisAI

Improper cache key generation in SpiceDB's dispatch layer allows authorization bypass when caveat structures use nested lists. Affected versions (v1.15.0 through v1.51.x) generate colliding cache keys due to non-deterministic serialization of nested list structures in caveat contexts, causing the system to erroneously serve a cached positive authorization result in place of a correct negative one. …

Sign in for full analysis, threat intelligence, and remediation guidance.

Share

CVE-2026-46668 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy