CVE-2022-21646: authzed spicedb Improper Input Validation
Vulnerability summary
CVE-2022-21646 is a high (CVSS 8.1) Improper Input Validation vulnerability in authzed spicedb. EPSS estimates a 1.28% chance of exploitation in the next 30 days, higher than 69.5% of scored vulnerabilities.
Timeline
- 11-01-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
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 metrics
4 scores · 3 sources · 2 versions- OSV · GoEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- NVDNIST8.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
EPSS trend
Probability
1.28%
Chance of exploitation in the next 30 days
Percentile
70%
Versus all other CVEs
30-day change
0.00 pp
From 1.28% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-20Improper Input ValidationThe product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
- CWE-155Improper Neutralization of Wildcards or Matching SymbolsThe product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as wildcards or matching symbols when they are sent to a downstream component.
Affected systems
Authzed1 product
- spicedb= 1.3.0 | 1.3.0
Github.com/authzed1 product
- spicedb≥ 1.3.0, < 1.4.0
2 vendors · 2 products
References
6 links- github.com/authzed/spicedb/security/advisories/GHSA-7p8f-8hjm-wm92X Refsource CONFIRMWEBAdvisoryThird Party Advisory
- github.com/authzed/spicedb/commit/15bba2e2d2a4bda336a37a7fe8ef8a35028cd970X Refsource MISCWEBFIXPatchThird Party Advisory
- github.com/authzed/spicedbPACKAGE