CVE-2025-64529 SpiceDB's WriteRelationships fails silently if payload is too big
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| authzed github.com/authzed/spicedb | < 1.45.2; = < 1.45.2 | 1.45.2 | Fixed |
| authzed github.com/authzed/spicedb(Go) | < 1.45.2 | 1.45.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| authzed github.com/authzed/spicedb(Go) | < 1.45.2 | 1.45.2 |
| authzed github.com/authzed/spicedb | = < 1.45.2 | No fix listed |
| authzed github.com/authzed/spicedb | < 1.45.2 | 1.45.2 |
References
- https://github.com/authzed/spicedb/security/advisories/GHSA-pm3x-jrhh-qcr7 patch vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com product
- github.com