{"id":"CVE-2025-64529","published":"2025-11-10T22:28:51Z","modified":"2025-11-12T20:12:52Z","title":"SpiceDB's WriteRelationships fails silently if payload is too big","vendor":"authzed","product":"spicedb","tier":"tail","description":{"text":"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`.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.7,"severity":"LOW","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00264,"percentile":0.18626,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/authzed/spicedb/security/advisories/GHSA-pm3x-jrhh-qcr7","tags":["x_refsource_CONFIRM"]}],"priority":{"score":5.6,"factors":[{"name":"EPSS percentile","points":3.73},{"name":"CVSS severity","points":1.89}]},"vendorSlug":"authzed","affectedVersions":[{"vendor":"authzed","product":"spicedb","versions":["< 1.45.2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-11-12T17:34:00.745696Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/authzed/spicedb","vulnerableRanges":["<1.45.2"],"patched":["1.45.2"],"from":["GHSA-pm3x-jrhh-qcr7","GO-2025-4120"],"provenance":"source"}],"summary":{"text":"SpiceDB versions prior to 1.45.2 contain a flaw in the WriteRelationships call, where an oversized payload fails without an error response, leaving the caller to believe the write succeeded. An attacker who can reach the SpiceDB API over the network, without authentication or user interaction, can cause this only when the server's write-relationships-max-updates-per-call setting is above 6500, the authorization schema uses the exclusion operator, and the write payload exceeds what the datastore accepts, which can then produce incorrect permission check results.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:20:50Z"},"euvd":{"id":"EUVD-2025-50833","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-authzed-spicedb-cve-2023-46255","parents":[{"from":"CVE-2023-46255","to":"CVE-2025-64529","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["internal/datastore/common/errors.go"],"commits":["https://github.com/authzed/spicedb/commit/ae50421b80f895e4c98d999b18e06b6f1e6f1cf8","https://github.com/authzed/spicedb/commit/d0cd103a92cc1915636733fb1d1730c2c7f74851"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2024-46989","published":"2024-09-18","fixed":"1.35.3","kev":false},{"cve":"CVE-2024-48909","published":"2024-10-14","fixed":"1.37.1","kev":false},{"cve":"CVE-2025-49011","published":"2025-06-06","fixed":"1.44.2","kev":false,"link":{"from":"CVE-2025-49011","to":"CVE-2025-64529","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/authzed/spicedb","fromFixed":"1.44.2","toFixed":"1.45.2","daysApart":157}]}},{"cve":"CVE-2025-64529","published":"2025-11-10","fixed":"1.45.2","kev":false},{"cve":"CVE-2025-65111","published":"2025-11-21","fixed":"1.47.1","kev":false,"link":{"from":"CVE-2025-64529","to":"CVE-2025-65111","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/authzed/spicedb","fromFixed":"1.45.2","toFixed":"1.47.1","daysApart":11}]}},{"cve":"CVE-2026-40091","published":"2026-04-14","fixed":"1.51.1","kev":false},{"cve":"CVE-2026-46668","published":"2026-06-10","fixed":"1.52.0","kev":false}],"package":"Go:github.com/authzed/spicedb"}}