Vulnerabilities in pkg:golang/github.com/authzed/spicedb
PACKAGECVE-2026-55866 is a LOW (CVSS 3.7) checks involving relations with caveats vulnerability (CWE-863: Incorrect Authorization) affecting SpiceDB libraries in the Go ecosystem. The issue involves checks involving relations with caveats can result in unconditional permission when conditional permission is expected. Remediation is available by upgrading affected packages to version 1.54.0.
pkg:golang/github.com/authzed/spicedb
Vulnerability advisories affecting package pkg:golang/github.com/authzed/spicedb. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-4vrg-r928-h5vv | CVE-2026-55866 | LOW | SpiceDB: Checks involving relations with caveats can result in unconditional permission when conditional permission is expected |
| GHSA-mqcf-gqvg-rmhm | CVE-2026-46668 | LOW | SpiceDB: Caveat structures with nested lists can result in improper cache reuse |
| GHSA-pm3x-jrhh-qcr7 | CVE-2025-64529 | LOW | SpiceDB WriteRelationships fails silently if payload is too big |
| GHSA-9m7r-g8hg-x3vr | CVE-2025-65111 | LOW | SpiceDB: LookupResources with Multiple Entrypoints across Different Definitions Can Return Incomplete Results |
| GHSA-jf4f-rr2c-9m58 | CVE-2026-40091 | MODERATE | SpiceDB's SPICEDB_DATASTORE_CONN_URI is leaked on startup logs |
| GHSA-vhvq-fv9f-wh4q | - | LOW | LookupResources Cursor section tampering can crash SpiceDB process via tuple.MustParse panic |
| GHSA-cwwm-hr97-qfxm | CVE-2025-49011 | LOW | SpiceDB checks involving relations with caveats can result in no permission when permission is expected |
| GHSA-jhg6-6qrx-38mr | CVE-2024-46989 | MODERATE | SpiceDB having multiple caveats on resources of the same type may improperly result in no permission |
| GHSA-grjv-gjgr-66g2 | CVE-2024-38361 | MODERATE | SpiceDB exclusions can result in no permission returned when permission expected |
| GHSA-3c32-4hq9-6wgj | CVE-2024-48909 | LOW | SpiceDB calls to LookupResources using LookupResources2 with caveats may return context is missing when it is not |
| GHSA-j85q-46hg-36p2 | CVE-2024-32001 | LOW | SpiceDB: LookupSubjects may return partial results if a specific kind of relation is used |
| GHSA-h3m7-rqc4-7h9p | CVE-2024-27101 | HIGH | Integer overflow in chunking helper causes dispatching to miss elements or panic |
| GHSA-jg7w-cxjv-98c2 | CVE-2023-46255 | MODERATE | SpiceDB leaks information in log files when URI cannot be parsed |
| GHSA-m54h-5x5f-5m6r | CVE-2023-35930 | LOW | SpiceDB's LookupResources may return partial results |
| GHSA-cjr9-mr35-7xh6 | CVE-2023-29193 | HIGH | SpiceDB binding metrics port to untrusted networks and can leak command-line flags |
| GHSA-7p8f-8hjm-wm92 | CVE-2022-21646 | HIGH | Lookup operations do not take into account wildcards in SpiceDB |
CVE-2026-55866 at a Glance
Security Impact
CVSS: 3.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N).
How to Fix CVE-2026-55866
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.54.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-55866, 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.54.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-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. 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-55866 Affected SpiceDB Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/authzed/spicedb
|
Go |
≥ 1.34.0
< 1.54.0
|
1.54.0
|
References
Frequently Asked Questions
What is CVE-2026-55866?
Which SpiceDB versions are affected?
What version fixes CVE-2026-55866?
Is github.com/authzed/spicedb affected?
What is the CVSS score of CVE-2026-55866?
What CWE is associated with CVE-2026-55866?
How can I check Go dependencies for CVE-2026-55866?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4vrg-r928-h5vv",
"modified" : "2026-06-19T21:42:12Z",
"published" : "2026-06-19T21:42:12Z",
"aliases" : [ "CVE-2026-55866" ],
"summary" : "SpiceDB: Checks involving relations with caveats can result in unconditional permission when conditional permission is expected",
"details" : "### Impact\n Under concurrency, `CheckPermission` and `CheckBulkPermissions` can return `PERMISSIONSHIP_HAS_PERMISSION` for a (resource, permission, subject) whose correct answer is `PERMISSIONSHIP_CONDITIONAL_PERMISSION`. \n\n You are impacted if **all** of the following hold:\n\n 1. Your schema has a permission combining relations with an intersection or exclusion, where a subject reaches it through a caveated branch and a non-caveated branch. For example:\n\n```zed\n definition user {}\n\n caveat some_caveat(somecondition int) { somecondition == 42 }\n\n definition document {\n relation reader: user | user with some_caveat\n relation writer: user\n relation banned: user\n permission has_permission = (reader & writer) - banned\n }\n```\n\n 2. A subject reaches the permission via the caveated edge:\n\n```\n document:firstdoc#reader@user:caveatedreader[some_caveat]\n document:firstdoc#writer@user:caveatedreader\n```\n 3. Your workload issues `LookupResources` with a `context` request parameter, concurrently with `CheckPermission/CheckBulkPermissions` for the same subject/resource, and\n 4. The dispatch result cache is enabled.\n \nWhen all of the above are true, there is an intermittent window in which:\n\n`CheckPermission(document:firstdoc, has_permission, user:caveatedreader)` → HAS_PERMISSION (incorrect; should be CONDITIONAL_PERMISSION)\n\n`CheckPermission(document:firstdoc, has_permission, user:caveatedreader, context = {\"somecondition\": 41})` → HAS_PERMISSION (incorrect; should be NO_PERMISSION)\n\n### Patches\n\nv1.54.0\n\n### Workarounds\nDisable the dispatch result cache (`ClusterDispatchCacheConfig` and `DispatchCacheConfig`)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/authzed/spicedb"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.34.0"
}, {
"fixed" : "1.54.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/authzed/spicedb/security/advisories/GHSA-4vrg-r928-h5vv"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/authzed/spicedb"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-863" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-06-19T21:42:12Z",
"nvd_published_at" : null
}
}