CVE-2026-46668: SpiceDB Caveat Structures With Nested Lists Vulnerability
LOWCVE-2026-46668 is a LOW caveat structures with nested lists vulnerability (CWE-285: Improper Authorization) affecting SpiceDB libraries in the Go ecosystem. The issue involves caveat structures with nested lists can result in improper cache reuse. Remediation is available by upgrading affected packages to version 1.52.0.
CVE-2026-46668 at a Glance
How to Fix CVE-2026-46668
To remediate this vulnerability, upgrade all affected SpiceDB dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/authzed/spicedb to 1.52.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/authzed/spicedb
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-46668, inspect your project dependencies for SpiceDB:
inspect dependencies for github.com/authzed/spicedb
Analyze the terminal output to locate any version of SpiceDB in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.52.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-285: Improper Authorization, where the product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action. In SpiceDB, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-46668 Affected SpiceDB Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/authzed/spicedb
|
Go |
≥ 1.15.0
< 1.52.0
|
1.52.0
|
References
Frequently Asked Questions
What is CVE-2026-46668?
Which SpiceDB versions are affected?
What version fixes CVE-2026-46668?
Is github.com/authzed/spicedb affected?
What CWE is associated with CVE-2026-46668?
How can I check Go dependencies for CVE-2026-46668?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mqcf-gqvg-rmhm",
"modified" : "2026-06-11T14:05:32Z",
"published" : "2026-05-21T20:28:43Z",
"aliases" : [ "CVE-2026-46668" ],
"summary" : "SpiceDB: Caveat structures with nested lists can result in improper cache reuse",
"details" : "### Impact\nUsers are impacted if:\n\n- They have a caveat structure with a nested list, e.g.:\n \n```zed\n caveat shape(x list<any>) {\n x == [[\"a\"], \"b\"]\n }\n ```\n- 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`\n- An attacker can cause the system to craft a request to SpiceDB where either:\n 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\n 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\n\nIf 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.\n\n### Patches\nThis problem was addressed in https://github.com/authzed/spicedb/pull/3065 and released in version v1.52.0.\n\n### Workarounds\nIf using v3 of `LookupResources`, turn the flag off.\n\nIf possible, refactor the `caveat` declaration structure so that it does not operate on a list of lists, but rather any other composite structure.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/authzed/spicedb"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.15.0"
}, {
"fixed" : "1.52.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/authzed/spicedb/security/advisories/GHSA-mqcf-gqvg-rmhm"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-46668"
}, {
"type" : "WEB",
"url" : "https://github.com/authzed/spicedb/pull/3065"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/authzed/spicedb"
}, {
"type" : "WEB",
"url" : "https://github.com/authzed/spicedb/releases/tag/v1.52.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-285" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-21T20:28:43Z",
"nvd_published_at" : "2026-06-10T22:16:59Z"
}
}