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
- Upgrade github.com/authzed/spicedb to fixed version 1.57.1 or later.
- If an upgrade cannot be performed immediately, note that no alternative workarounds are documented in the source record.
How to check your project
- Check dependency files like go.mod to determine if github.com/authzed/spicedb is between versions 1.40.0 and 1.57.0 inclusive.
Automated analysis of the published advisory data, generated 2026-11-23. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| 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
References
- ADVISORY https://github.com/authzed/spicedb/security/advisories/GHSA-w278-32qg-48q5
- FIX https://github.com/authzed/spicedb/commit/7074da7242e5aedfeb4586d93a403eca45388ada
- WEB https://github.com/authzed/spicedb/releases/tag/v1.57.1
Source records: GO-2026-6992 (OSV.dev).