{"id":"CVE-2024-32001","summary":"SpiceDB: LookupSubjects may return partial results if a specific kind of relation is used","details":"SpiceDB is a graph database purpose-built for storing and evaluating access control data. Use of a relation of the form: `relation folder: folder | folder#parent` with an arrow such as `folder-\u003eview` 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. Any user making a negative authorization decision based on the results of a LookupSubjects request with version before v1.30.1 is affected. Version 1.30.1 contains a patch for the issue. As a workaround, avoid using LookupSubjects for negative authorization decisions and/or avoid using the broken schema.\n","aliases":["GHSA-j85q-46hg-36p2","GO-2024-2716"],"modified":"2026-08-12T03:51:21.566748814Z","published":"2024-04-10T22:25:12.353Z","related":["CGA-vgh3-789r-gcw6"],"database_specific":{"cwe_ids":["CWE-755"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/32xxx/CVE-2024-32001.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/authzed/spicedb/releases/tag/v1.30.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/32xxx/CVE-2024-32001.json"},{"type":"ADVISORY","url":"https://github.com/authzed/spicedb/security/advisories/GHSA-j85q-46hg-36p2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-32001"},{"type":"FIX","url":"https://github.com/authzed/spicedb/commit/a244ed1edfaf2382711dccdb699971ec97190c7b"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/authzed/spicedb","events":[{"introduced":"0"},{"fixed":"1404bff0b50e1c38f05ef61b804fa6b6b0c581c7"},{"fixed":"a244ed1edfaf2382711dccdb699971ec97190c7b"}],"database_specific":{"cpe":"cpe:2.3:a:authzed:spicedb:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"1.30.1"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v1.30.0","v1.29.1-rc1","v1.29.1","v1.29.0","v1.28.0-rc1","v1.28.0","v1.27.1-rc1","v1.27.0","v1.27.0-rc1","v1.26.0-rc2","v1.26.0","v1.26.0-rc1","v1.25.0","v1.25.0-rc4","v1.25.0-rc3","v1.25.0-rc2","v1.25.0-rc1","v1.24.0-rc3","v1.24.0","v1.24.0-rc2","v1.24.0-rc1","v1.23.1-rc1","v1.23.1","v1.23.0-rc4","v1.23.0","v1.23.0-rc3","v1.23.0-rc2","v1.23.0-rc1","v1.22.2","v1.22.1-rc1","v1.22.1","v1.22.0","v1.22.0-rc8","v1.22.0-rc7","v1.22.0-rc6","v1.22.0-rc5","v1.22.0-rc4","v1.22.0-rc2","v1.22.0-rc1","v1.21.0","v1.21.0-rc1","v1.19.0","v1.18.1","v1.17.0","v1.16.2","v1.16.1","v1.16.0","v1.15.0","v1.14.1","v1.14.0","v1.13.0","v1.12.0","v1.11.0","v1.10.0","v1.9.0","v1.8.0","v1.7.1","v1.7.0","v1.5.0","v1.4.0","v1.3.0","v1.2.0","v1.1.0","v1.0.0","v0.0.3","v0.0.2","v0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-32001.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N"}]}