{"cve":"CVE-2022-21646","nvd":{"published":"2022-01-11T22:15:07.727","modified":"2026-06-17T04:26:40.590","status":"Modified","description":"SpiceDB is a database system for managing security-critical application permissions. Any user making use of a wildcard relationship under the right hand branch of an `exclusion` or within an `intersection` operation will see `Lookup`/`LookupResources` return a resource as \"accessible\" if it is *not* accessible by virtue of the inclusion of the wildcard in the intersection or the right side of the exclusion. In `v1.3.0`, the wildcard is ignored entirely in lookup's dispatch, resulting in the `banned` wildcard being ignored in the exclusion. Version 1.4.0 contains a patch for this issue. As a workaround, don't make use of wildcards on the right side of intersections or within exclusions.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1},"cwes":["CWE-20","CWE-155"],"references":["https://github.com/authzed/spicedb/commit/15bba2e2d2a4bda336a37a7fe8ef8a35028cd970","https://github.com/authzed/spicedb/issues/358","https://github.com/authzed/spicedb/releases/tag/v1.4.0","https://github.com/authzed/spicedb/security/advisories/GHSA-7p8f-8hjm-wm92","https://github.com/authzed/spicedb/commit/15bba2e2d2a4bda336a37a7fe8ef8a35028cd970"],"products":["authzed:spicedb"],"source":"nvd","synced_at":"2026-10-19T21:26:33.761856376+00:00"},"epss":{"cve":"CVE-2022-21646","score":0.01278,"percentile":0.69984,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-7p8f-8hjm-wm92","url":"https://osv.dev/vulnerability/GHSA-7p8f-8hjm-wm92","summary":"Lookup operations do not take into account wildcards in SpiceDB","modified":"2024-08-21T14:56:50.790866Z","packages":[{"ecosystem":"Go","name":"github.com/authzed/spicedb","purl":"pkg:golang/github.com/authzed/spicedb","ranges":[">=1.3.0 <1.4.0"],"fixed":["1.4.0"]}]},{"id":"GO-2022-0295","url":"https://osv.dev/vulnerability/GO-2022-0295","summary":"Lookup operations do not take into account wildcards in SpiceDB in github.com/authzed/spicedb","modified":"2026-03-03T04:49:42.385007Z","packages":[{"ecosystem":"Go","name":"github.com/authzed/spicedb","purl":"pkg:golang/github.com/authzed/spicedb","ranges":[">=1.3.0 <1.4.0"],"fixed":["1.4.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}