CVE-2024-32001: SpiceDB: LookupSubjects may return partial results if a specific kind of relation is used
Background Use of a relation of the form: relation folder: folder folder#parent with an arrow such as folder-view can cause LookupSubjects to only return the subjects found under subjects for either folder or folder#parent. This bug only manifests if the same subject type is used multiple types in a relation, relationships exist for both subject types and an arrow is used over the relation.
Published Apr 10, 2024 · Updated Apr 11, 2024
Affected packages
github.com/authzed/spicedb
- Ecosystem
- Go
- Affected
- < 1.30.1
- Fixed in
- 1.30.1
- Check
go list -m github.com/authzed/spicedb
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Background
Use of a relation of the form: relation folder: folder | folder#parent with an arrow such as folder->view can cause LookupSubjects to only return the subjects found under subjects for *either* folder or folder#parent.
This bug *only* manifests if the *same* subject type is used multiple types in a relation, relationships exist for both subject types *and* an arrow is used over the relation.
Impact
Any user making a negative authorization decision based on the results of a LookupSubjects request with version before v1.30.1 is affected.
Workarounds
Avoid using LookupSubjects for negative authorization decisions and/or avoid using the broken schema.
References
- https://github.com/authzed/spicedb/security/advisories/GHSA-j85q-46hg-36p2
- https://github.com/authzed/spicedb/commit/a244ed1edfaf2382711dccdb699971ec97190c7b
- https://nvd.nist.gov/vuln/detail/CVE-2024-32001
- https://github.com/authzed/spicedb/releases/tag/v1.30.1
- https://github.com/advisories/GHSA-j85q-46hg-36p2
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-55866
SpiceDB: Checks involving relations with caveats can result in unconditional permission when conditional permission is expected
low3.7Jun 19, 2026CVE-2026-46668
SpiceDB: Caveat structures with nested lists can result in improper cache reuse
low2.3May 21, 2026CVE-2026-40091
SpiceDB's SPICEDB_DATASTORE_CONN_URI is leaked on startup logs
medium6.0Apr 14, 2026GHSA-vhvq-fv9f-wh4q
LookupResources Cursor section tampering can crash SpiceDB process via tuple.MustParse panic
low1.3Feb 6, 2026CVE-2025-65111
SpiceDB: LookupResources with Multiple Entrypoints across Different Definitions Can Return Incomplete Results
low2.9Nov 21, 2025CVE-2025-64529
SpiceDB WriteRelationships fails silently if payload is too big
low6.5Nov 13, 2025
