Nixpkgs security tracker

Login with GitHub

Details of issue NIXPKGS-2026-2581

NIXPKGS-2026-2581
published 2 days, 19 hours ago
SpiceDBChecks involving relations with caveats can result in unconditional permission when conditional permission is expected
Permalink CVE-2026-55866
3.7 LOW
  • CVSS version (CVSS): 3.1
  • Attack Vector (AV): Network (N)
  • Attack Complexity (AC): High (H)
  • Privileges Required (PR): None (N)
  • User Interaction (UI): None (N)
  • Scope (S): Unchanged (U)
  • Confidentiality (C): None (N)
  • Integrity (I): Low (L)
  • Availability (A): None (N)
  • Modified Attack Vector (MAV): Network (N)
  • Modified Attack Complexity (MAC): High (H)
  • Modified Privileges Required (MPR): None (N)
  • Modified User Interaction (MUI): None (N)
  • Modified Confidentiality (MC): None (N)
  • Modified Scope (MS): Unchanged (U)
  • Modified Integrity (MI): Low (L)
  • Modified Availability (MA): None (N)
updated 2 days, 19 hours ago by @LeSuisse Activity log
  • Created suggestion
  • @LeSuisse ignored
    3 packages
    • tree-sitter-grammars.tree-sitter-spicedb
    • python313Packages.tree-sitter-grammars.tree-sitter-spicedb
    • python314Packages.tree-sitter-grammars.tree-sitter-spicedb
  • @LeSuisse accepted
  • @LeSuisse published on GitHub
SpiceDBChecks involving relations with caveats can result in unconditional permission when conditional permission is expected

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 products

spicedb
  • ==>= 1.34.1, < 1.54.0

Matching in nixpkgs

Ignored packages (3)

Package maintainers

Needs a backport