Advisory

GHSA-pm3x-jrhh-qcr7

Also known as: CVE-2025-64529, GO-2025-4120

Summary

SpiceDB WriteRelationships fails silently if payload is too big

Details

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.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2025-11-13 22:58 UTC
Modified
2026-05-14 21:04 UTC

Affected packages and fixes

github.com/authzed/spicedb

Go · All systems

Affected

  • introduced 0, fixed 1.45.2 (semver)

Fixed versions

1.45.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences