2.7low
SpiceDB's WriteRelationships fails silently if payload is too big
- Severity
- 2.7low CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.46% (higher than 32% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-pm3x-jrhh-qcr7GO-2025-4120
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
| Product or package | Versions | Reported by |
|---|---|---|
| authzed spicedb | < 1.45.2, before 1.45.2 | CVE List, NVD |
| github.com/authzed/spicedb (Go) | before 1.45.2 | GitHub Advisory Database, Go Vulnerability Database |
All scores
| GitHub_M | 2.7low CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:U |
| GitHub | 6.5low CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
| GitHub | low CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:U |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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`.
GitHub Advisory Database
Impact
Users who
- use the exclusion operator somewhere in their authorization schema
- have configured their SpiceDB server such that
--write-relationships-max-updates-per-callis bigger than 6500 - 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
WriteRelationshipscall, when in reality that call failed, - receive incorrect permission check results, if those relationships had to be read to resolve the relation involving the exclusion
Patches
Upgrade to v.145.2.
Workarounds
Set --write-relationships-max-updates-per-call to 1000.
Go Vulnerability Database
SpiceDB WriteRelationships fails silently if payload is too big in github.com/authzed/spicedb
NVD (es)
SpiceDB es un sistema de base de datos de código abierto para crear y gestionar permisos de aplicación críticos para la seguridad. En versiones anteriores a la 1.45.2, los usuarios que utilizan el operador de exclusión en alguna parte de su esquema de autorización; han configurado su servidor SpiceDB de tal manera que '--write-relationships-max-updates-per-call' es mayor que 6500; y emiten llamadas a WriteRelationships con un número suficientemente grande de actualizaciones que hacen que la carga útil sea mayor de lo que permite su almacén de datos; recibirán una respuesta exitosa de su llamada a 'WriteRelationships', cuando en realidad esa llamada falló, y recibirán resultados incorrectos de la verificación de permisos, si esas relaciones tuvieron que ser leídas para resolver la relación que involucra la exclusión. La versión 1.45.2 contiene un parche para el problema. Como solución alternativa, establezca '--write-relationships-max-updates-per-call' en '1000'.
References
| https://github.com/authzed/spicedb/security/advisories/GHSA-pm3x-jrhh-qcr7 | advisory, patch, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-64529 | advisory | |
| https://github.com/authzed/spicedb/commit/d0cd103a92cc1915636733fb1d1730c2c7f74851 | fix, web | |
| https://github.com/authzed/spicedb | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-64529 changed 2025-11-12 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-pm3x-jrhh-qcr7 changed 2026-05-14 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2025-4120 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2025-64529 changed 2026-06-17 | Public domain |