SEVERITY NOT PROVIDED

GHSA-w278-32qg-48q5: Expired relationships included in permission checks in github.com/authzed/spicedb

Published 2026-11-23 · Updated 2026-11-23 · Also known as GO-2026-6992

Summary

A flaw in SpiceDB's ConcurrentChecker.checkDirect improperly includes expired relationships in permission checks under specific relation schema unions. Teams maintaining deployments using github.com/authzed/spicedb should upgrade to version 1.57.1.

Who is affected

Deployments of github.com/authzed/spicedb running versions 1.40.0 up to 1.57.0 are affected. The flaw triggers when a relation unions a subject type using expiration with a non-terminal relation on the same subject type, causing miscounts of direct subjects without expiration. Consequently, permission checks over that relation skip datastore expiration filtering, allowing expired relationships to remain effective until garbage collection.

Exploitability

No CVSS score or vector is provided for this record. EPSS metrics are not yet available, and CISA Known Exploited Vulnerabilities lists no active exploitation.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-23. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
Go github.com/authzed/spicedb >= 1.40.0, < 1.57.1 1.57.1 go get github.com/authzed/[email protected]

FAQ

Why are expired relationships included in permission checks?

ConcurrentChecker.checkDirect miscounts direct subjects lacking expiration when combining an expiring subject type union with a non-terminal relation, bypassing datastore expiration filtering.

Is this vulnerability actively exploited in the wild?

No active exploitation is reported; CISA KEV indicates no known active exploitation.

Are there any documented temporary workarounds?

No workarounds are documented; updating to version 1.57.1 is required to remediate the issue.

Original advisory description
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.

References

Source records: GO-2026-6992 (OSV.dev).