{"id":"CVE-2026-55866","state":"PUBLISHED","title":"SpiceDBChecks involving relations with caveats can result in unconditional permission when conditional permission is expected","description":"SpiceDB is an open source database system for creating and managing security-critical application permissions. From 1.34.0 until 1.54.0, SpiceDB can return PERMISSIONSHIP_HAS_PERMISSION instead of PERMISSIONSHIP_CONDITIONAL_PERMISSION or PERMISSIONSHIP_NO_PERMISSION because checkRequestToKey() and checkRequestToKeyWithCanonical() in internal/dispatch/keys/computed.go omit CheckHints when constructing dispatch Check cache keys. The incorrect result requires a permission combining relations with intersection or exclusion, a subject reachable through caveated and non-caveated branches, LookupResources with a context parameter running concurrently with CheckPermission or CheckBulkPermissions for the same resource and subject, and an enabled dispatch result cache. Under these conditions, a result computed for one hint set can poison the cache entry used by a semantically different authorization check, allowing permission without satisfying the caveat. This issue is fixed in version 1.54.0.","publishedAt":"2026-09-14T17:23:56.428Z","updatedAt":"2026-09-14T18:15:41.075Z","severity":{"score":3.7,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["authzed spicedb"],"affected":[{"vendor":"authzed","product":"spicedb","versions":[{"version":">= 1.34.1, < 1.54.0","status":"affected"}]}],"references":["https://github.com/authzed/spicedb/security/advisories/GHSA-4vrg-r928-h5vv","https://github.com/authzed/spicedb/pull/3188","https://github.com/authzed/spicedb/commit/44a1c9f266bd8a884bfebfc27181210302541b9b","https://github.com/authzed/spicedb/commit/ccde792fc48750740d025d4286d5c2c88614cd30","https://github.com/authzed/spicedb/releases/tag/v1.54.0"],"weaknesses":["CWE-863"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/55xxx/CVE-2026-55866.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-55866","state":"PUBLISHED","datePublished":"2026-09-14T17:23:56.428Z","dateUpdated":"2026-09-14T18:15:41.075Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-17T16:44:40.996Z"},"containers":{"cna":{"title":"SpiceDBChecks involving relations with caveats can result in unconditional permission when conditional permission is expected","descriptions":[{"lang":"en","value":"SpiceDB is an open source database system for creating and managing security-critical application permissions. From 1.34.0 until 1.54.0, SpiceDB can return PERMISSIONSHIP_HAS_PERMISSION instead of PERMISSIONSHIP_CONDITIONAL_PERMISSION or PERMISSIONSHIP_NO_PERMISSION because checkRequestToKey() and checkRequestToKeyWithCanonical() in internal/dispatch/keys/computed.go omit CheckHints when constructing dispatch Check cache keys. The incorrect result requires a permission combining relations with intersection or exclusion, a subject reachable through caveated and non-caveated branches, LookupResources with a context parameter running concurrently with CheckPermission or CheckBulkPermissions for the same resource and subject, and an enabled dispatch result cache. Under these conditions, a result computed for one hint set can poison the cache entry used by a semantically different authorization check, allowing permission without satisfying the caveat. This issue is fixed in version 1.54.0."}],"affected":[{"vendor":"authzed","product":"spicedb","versions":[{"version":">= 1.34.1, < 1.54.0","status":"affected"}]}],"references":[{"url":"https://github.com/authzed/spicedb/security/advisories/GHSA-4vrg-r928-h5vv","name":"https://github.com/authzed/spicedb/security/advisories/GHSA-4vrg-r928-h5vv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/authzed/spicedb/pull/3188","name":"https://github.com/authzed/spicedb/pull/3188","tags":["x_refsource_MISC"]},{"url":"https://github.com/authzed/spicedb/commit/44a1c9f266bd8a884bfebfc27181210302541b9b","name":"https://github.com/authzed/spicedb/commit/44a1c9f266bd8a884bfebfc27181210302541b9b","tags":["x_refsource_MISC"]},{"url":"https://github.com/authzed/spicedb/commit/ccde792fc48750740d025d4286d5c2c88614cd30","name":"https://github.com/authzed/spicedb/commit/ccde792fc48750740d025d4286d5c2c88614cd30","tags":["x_refsource_MISC"]},{"url":"https://github.com/authzed/spicedb/releases/tag/v1.54.0","name":"https://github.com/authzed/spicedb/releases/tag/v1.54.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":3.7,"baseSeverity":"LOW","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-863","lang":"en","description":"CWE-863: Incorrect Authorization","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-09-14T17:23:56.428Z"},"source":{"advisory":"GHSA-4vrg-r928-h5vv","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-14T18:15:32.043031Z","id":"CVE-2026-55866","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-14T18:15:41.075Z"}}]}}}