LowGO-2026-6992GHSA-w278-32qg-48q5

Expired relationships included in permission checks in github.com/authzed/spicedb

Published 23 Nov 2026 · Updated 23 Nov 2026

Is your project on an affected github.com/authzed/spicedb?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
>=1.40.0 <1.57.1
Fixed in
1.57.1
Update to the fixed version for your release line, for example:go get github.com/authzed/spicedb@v1.57.1

Details

ConcurrentChecker.checkDirect miscounts direct subjects without expiration when a relation unions a subject type using expiration with a non-terminal relation on the same subject type. Permission checks over that relation skip datastore expiration filtering and can include expired relationships until they are garbage collected.

Is GO-2026-6992 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/authzed/spicedb, and gives you the command that fixes it.

More advisories for github.com/authzed/spicedb

  • LowCVE-2026-46668SpiceDB: Caveat structures with nested lists can result in improper cache reuse in github.com/authzed/spicedb · 25 Jun 2026
  • LowCVE-2026-40091SpiceDB's SPICEDB_DATASTORE_CONN_URI is leaked on startup logs in github.com/authzed/spicedb · 25 Jun 2026
  • LowCVE-2026-55866SpiceDB: Checks involving relations with caveats can result in unconditional permission when conditional permission is expected in github.com/authzed/spicedb · 25 Jun 2026
  • LowCVE-2026-55866SpiceDB: Checks involving relations with caveats can result in unconditional permission when conditional permission is expected · 19 Jun 2026
  • LowCVE-2026-46668SpiceDB: Caveat structures with nested lists can result in improper cache reuse · 21 May 2026
  • MediumCVE-2026-40091SpiceDB's SPICEDB_DATASTORE_CONN_URI is leaked on startup logs · 14 Apr 2026
All 33 advisories for github.com/authzed/spicedb

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.