All reports
Unknown

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

Affected versions

Affected versions
>=1.40.0 <1.57.1
Fixed version
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.

Links

Credits

  • Sathwik Yadlapati