CVE-2025-64529
JSON

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 packageVersionsReported by
authzed spicedb< 1.45.2, before 1.45.2CVE List, NVD
github.com/authzed/spicedb (Go)before 1.45.2GitHub Advisory Database, Go Vulnerability Database

All scores

GitHub_M2.7low CVSS:4.0CVSS: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
GitHub6.5low CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
GitHublow CVSS:4.0CVSS: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
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

Classification

CWE-770

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

  1. use the exclusion operator somewhere in their authorization schema
  2. have configured their SpiceDB server such that --write-relationships-max-updates-per-call is bigger than 6500
  3. issue calls to WriteRelationships with a large enough number of updates that cause the payload to be bigger than what their datastore allows

will

  1. receive a successful response from their WriteRelationships call, when in reality that call failed,
  2. 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

Sources

SourceRecordLicence
CVE ListCVE-2025-64529 changed 2025-11-12CVE Terms of Use
GitHub Advisory DatabaseGHSA-pm3x-jrhh-qcr7 changed 2026-05-14CC-BY-4.0
Go Vulnerability DatabaseGO-2025-4120 changed 2026-03-03CC-BY-4.0
NVDCVE-2025-64529 changed 2026-06-17Public domain