Skip to content
Heist/ feed
Back to feed
Low

SpiceDBChecks involving relations with caveats can result in unconditional permission when conditional permission is expected

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-55866
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 06:07 UTC · Revision 1

Source evidence

SpiceDBChecks involving relations with caveats can result in unconditional permission when conditional permission is expected

core-osv · Original source

Published 14 Sept 2026, 17:23 UTC

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.

osv:CVE-2026-55866
Complete source record
{
  "id": "a42ddc34471aea0d0f529112b7c45714b0cc7ebb77fd90480df987edf3b9bc45",
  "url": "https://osv.dev/vulnerability/CVE-2026-55866",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "SpiceDBChecks involving relations with caveats can result in unconditional permission when conditional permission is expected",
    "summary": "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.",
    "evidence": "osv:CVE-2026-55866",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2026-55866",
      "aliases": [
        "CVE-2026-55866",
        "GHSA-4vrg-r928-h5vv",
        "GO-2026-5133"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/authzed/spicedb",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3647a6e0dc353161f93ca3e520dc4342bde7af04"
                },
                {
                  "fixed": "44a1c9f266bd8a884bfebfc27181210302541b9b"
                },
                {
                  "fixed": "ccde792fc48750740d025d4286d5c2c88614cd30"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "1.34.1"
                      },
                      {
                        "fixed": "1.54.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "44a1c9f266bd8a884bfebfc27181210302541b9b"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "ccde792fc48750740d025d4286d5c2c88614cd30"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "3647a6e0dc353161f93ca3e520dc4342bde7af04"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v1.54.0"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.53.0",
            "v1.52.0",
            "v1.51.0",
            "v1.50.0",
            "v1.49.2",
            "v1.49.1",
            "v1.49.0",
            "v1.48.0",
            "v1.47.1",
            "v1.47.0",
            "v1.46.2",
            "v1.46.1",
            "v1.46.0",
            "v1.45.4",
            "v1.45.3",
            "v1.45.2",
            "v1.45.1",
            "v1.45.0",
            "v1.44.4",
            "v1.44.3",
            "v1.44.0",
            "v1.43.0",
            "v1.42.1",
            "v1.42.0",
            "v1.41.0",
            "v1.40.1",
            "v1.40.0",
            "v1.39.0",
            "v1.38.0",
            "v1.37.0",
            "v1.35.3",
            "v1.35.2",
            "v1.35.1",
            "v1.35.0",
            "v1.34.0",
            "v1.33.0",
            "v1.32.0",
            "v1.31.0",
            "v1.30.0",
            "v1.29.1-rc1",
            "v1.29.1",
            "v1.29.0",
            "v1.28.0-rc1",
            "v1.28.0",
            "v1.27.1-rc1",
            "v1.27.0",
            "v1.27.0-rc1",
            "v1.26.0-rc2",
            "v1.26.0",
            "v1.26.0-rc1",
            "v1.25.0",
            "v1.25.0-rc4",
            "v1.25.0-rc3",
            "v1.25.0-rc2",
            "v1.25.0-rc1",
            "v1.24.0-rc3",
            "v1.24.0",
            "v1.24.0-rc2",
            "v1.24.0-rc1",
            "v1.23.1-rc1",
            "v1.23.1",
            "v1.23.0-rc4",
            "v1.23.0",
            "v1.23.0-rc3",
            "v1.23.0-rc2",
            "v1.23.0-rc1",
            "v1.22.2",
            "v1.22.1-rc1",
            "v1.22.1",
            "v1.22.0",
            "v1.22.0-rc8",
            "v1.22.0-rc7",
            "v1.22.0-rc6",
            "v1.22.0-rc5",
            "v1.22.0-rc4",
            "v1.22.0-rc2",
            "v1.22.0-rc1",
            "v1.21.0",
            "v1.21.0-rc1",
            "v1.19.0",
            "v1.18.1",
            "v1.17.0",
            "v1.16.2",
            "v1.16.1",
            "v1.16.0",
            "v1.15.0",
            "v1.14.1",
            "v1.14.0",
            "v1.13.0",
            "v1.12.0",
            "v1.11.0",
            "v1.10.0",
            "v1.9.0",
            "v1.8.0",
            "v1.7.1",
            "v1.7.0",
            "v1.5.0",
            "v1.4.0",
            "v1.3.0",
            "v1.2.0",
            "v1.1.0",
            "v1.0.0",
            "v0.0.3",
            "v0.0.2",
            "v0.0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-55866.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:50.186689694Z",
      "provider": "osv",
      "references": [
        "https://github.com/authzed/spicedb/releases/tag/v1.54.0",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55866.json",
        "https://github.com/authzed/spicedb/security/advisories/GHSA-4vrg-r928-h5vv",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-55866",
        "https://github.com/authzed/spicedb/commit/44a1c9f266bd8a884bfebfc27181210302541b9b",
        "https://github.com/authzed/spicedb/commit/ccde792fc48750740d025d4286d5c2c88614cd30",
        "https://github.com/authzed/spicedb/pull/3188"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-863"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55866.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-55866",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 518439,
  "published_at": "2026-09-14T17:23:56.428+00:00"
}