# GO-2026-6992: Expired relationships included in permission checks in github.com/authzed/spicedb

- Database: Go
- Published: 2026-11-23
- Modified: 2026-11-23

## Also published as

- [GHSA-W278-32QG-48Q5](https://cve.now/GHSA-W278-32QG-48Q5.md) (GitHub)

## Affected versions

- github.com/authzed/spicedb (Go): from 1.40.0, fixed in 1.57.1

## 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

- https://github.com/authzed/spicedb/security/advisories/GHSA-w278-32qg-48q5
- https://github.com/authzed/spicedb/commit/7074da7242e5aedfeb4586d93a403eca45388ada
- https://github.com/authzed/spicedb/releases/tag/v1.57.1

Page: https://cve.now/GO-2026-6992

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
