What’s Vulnerable › Vulnerabilities
CVE-2025-64529: SpiceDB's WriteRelationships fails silently if payload is too big
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-11-10 · updated 2026-06-17
- Weakness: CWE-770
Description
SpiceDB is an open source database system for creating and managing security-critical application permissions. In versions prior to 1.45.2, users who use the exclusion operator somewhere in their authorization schema; have configured their SpiceDB server such that `--write-relationships-max-updates-per-call` is bigger than 6500; and issue calls to WriteRelationships with a large enough number of updates that cause the payload to be bigger than what their datastore allows; will receive a successful response from their `WriteRelationships` call, when in reality that call failed, and receive incorrect permission check results, if those relationships had to be read to resolve the relation involving the exclusion. Version 1.45.2 contains a patch for the issue. As a workaround, set `--write-relationships-max-updates-per-call` to `1000`.
Affected products
- authzed spicedb: before 1.45.2 — fixed in 1.45.2
How to fix
Upgrade to a fixed version: authzed spicedb 1.45.2. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2025-64529 or the next vulnerability affects your stack