Incorrect Authorization Affecting github.com/authzed/spicedb/internal/dispatch/keys package, versions >=1.34.0 <1.54.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMAUTHZEDSPICEDBINTERNALDISPATCHKEYS-17738976
  • published30 Jun 2026
  • disclosed19 Jun 2026
  • creditUnknown

Introduced: 19 Jun 2026

CVE-2026-55866  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade github.com/authzed/spicedb/internal/dispatch/keys to version 1.54.0 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Authorization in the permission evaluation process under concurrent requests involving both CheckPermission/CheckBulkPermissions and LookupResources with a context parameter, when the dispatch result cache is enabled. An attacker can gain unintended permissions by exploiting a race condition where a subject reaches a permission through both caveated and non-caveated branches, resulting in the system granting unconditional access when conditional access is expected. This is only exploitable if the schema combines relations with intersection or exclusion, a subject reaches the permission via a caveated edge, concurrent requests are made as described, and the dispatch result cache is enabled.

Workaround

This vulnerability can be mitigated by disabling the dispatch result cache (ClusterDispatchCacheConfig and DispatchCacheConfig).

CVSS Base Scores

version 4.0
version 3.1