CVE-2026-46668
JSON

2.3low

SpiceDB: Caveat structures with nested lists can result in improper cache reuse

Severity
2.3low CVSS:4.0 by GitHub_M
Exploit likelihood
0.28% (higher than 21% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-mqcf-gqvg-rmhmGO-2026-5514

Description

SpiceDB 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.

Affected

Product or packageVersionsReported by
authzed spicedb>= 1.15.0, < 1.52.0CVE List
github.com/authzed/spicedb (Go)from 1.15.0 before 1.52.0GitHub Advisory Database, Go Vulnerability Database

All scores

GitHub_M2.3low CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
GitHublow CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Classification

CWE-285

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

SpiceDB 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.

GitHub Advisory Database
Impact

Users are impacted if:

  • They have a caveat structure with a nested list, e.g.:
  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.

Go Vulnerability Database

SpiceDB: Caveat structures with nested lists can result in improper cache reuse in github.com/authzed/spicedb

NVD (es)

SpiceDB es un sistema de base de datos de código abierto para crear y gestionar permisos de aplicaciones críticos para la seguridad. Desde la versión 1.15.0 hasta antes de la versión 1.52.0, las estructuras de 'caveat' con listas anidadas pueden provocar una reutilización incorrecta de la caché. Este problema ha sido parcheado en la versión 1.52.0.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-46668 changed 2026-06-11CVE Terms of Use
GitHub Advisory DatabaseGHSA-mqcf-gqvg-rmhm changed 2026-06-25CC-BY-4.0
Go Vulnerability DatabaseGO-2026-5514 changed 2026-06-25CC-BY-4.0
NVDCVE-2026-46668 changed 2026-07-23Public domain