Lookup operations do not take into account wildcards in SpiceDB
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| authzed | spicedb | = 1.3.0 | — | No fix listed | CNA |
| — | github.com/authzed/spicedb (Go) | 1.3.0 to before 1.4.0 | 1.4.0 | Patch available | GHSA-7p8f-8hjm-wm92 |
- spicedb Vendorauthzed Affected = 1.3.0 Fixed in — No fix listed CNA
- github.com/authzed/spicedb (Go) Vendor— Affected 1.3.0 to before 1.4.0 Fixed in 1.4.0 Patch available GHSA-7p8f-8hjm-wm92
Remediation
- Fix · GHSA-7p8f-8hjm-wm92 github.com/authzed/spicedb (Go) Fixed in 1.4.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-21646
- 2026-10-03 Alias added: GHSA-7p8f-8hjm-wm92
References
Advisory 4
More authzed Spicedb vulnerabilities
- TI-2025-31139 SpiceDB checks involving relations with caveats can result in no permission when permission is expected CVSS 3.1MEDIUM 5.3
- TI-2023-13621 SpiceDB binding metrics port to untrusted networks and can leak command-line flags CVSS 3.1HIGH 8.7
- TI-2024-17962 Integer overflow in chunking helper causes dispatching to miss elements or panic CVSS 3.1CRITICAL 9.1
- TI-2023-24882 `SPICEDB_DATASTORE_CONN_URI` is leaked when URI cannot be parsed CVSS 3.1MEDIUM 6.5
- TI-2026-28919 SpiceDB: SPICEDB_DATASTORE_CONN_URI is leaked on startup logs CVSS 3.1MEDIUM 6.0
- TI-2024-31378 Multiple caveats on resources of the same type can result in no permission when permission is expected CVSS 3.1MEDIUM 5.3
Sources
- CVE-2022-21646 · CVE Program
- CVE-2022-21646 · NVD
- FIRST EPSS
- GHSA-7p8f-8hjm-wm92 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences