SpiceDB's WriteRelationships fails silently if payload is too big
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-770.
Summary
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`.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| authzed | spicedb | before 1.45.2 | 1.45.2 | Patch available | CNA |
| — | github.com/authzed/spicedb (Go) | before 1.45.2 | 1.45.2 | Patch available | GHSA-pm3x-jrhh-qcr7 |
- spicedb Vendorauthzed Affected before 1.45.2 Fixed in 1.45.2 Patch available CNA
- github.com/authzed/spicedb (Go) Vendor— Affected before 1.45.2 Fixed in 1.45.2 Patch available GHSA-pm3x-jrhh-qcr7
Remediation
- Fix · CNA spicedb (authzed) Fixed in 1.45.2
- Fix · GHSA-pm3x-jrhh-qcr7 github.com/authzed/spicedb (Go) Fixed in 1.45.2 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2025-64529
- 2026-10-03 Alias added: GHSA-pm3x-jrhh-qcr7
References
More authzed Spicedb vulnerabilities
- TI-2025-31139 SpiceDB checks involving relations with caveats can result in no permission when permission is expected CVSS 3.1MEDIUM 5.3
- TI-2023-13621 SpiceDB binding metrics port to untrusted networks and can leak command-line flags CVSS 3.1HIGH 8.7
- TI-2024-17962 Integer overflow in chunking helper causes dispatching to miss elements or panic CVSS 3.1CRITICAL 9.1
- TI-2022-06024 Lookup operations do not take into account wildcards in SpiceDB CVSS 3.1HIGH 8.1
- TI-2023-24882 `SPICEDB_DATASTORE_CONN_URI` is leaked when URI cannot be parsed CVSS 3.1MEDIUM 6.5
- TI-2026-28919 SpiceDB: SPICEDB_DATASTORE_CONN_URI is leaked on startup logs CVSS 3.1MEDIUM 6.0
Sources
- CVE-2025-64529 · CVE Program
- CVE-2025-64529 · NVD
- FIRST EPSS
- GHSA-pm3x-jrhh-qcr7 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-64529 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences