CVE-2025-64529: Github.com/authzed/spicedb SpiceDB WriteRelationships Fails Silently If Vulnerability

LOW
Advisory Identifier: GHSA-pm3x-jrhh-qcr7
CVSS 6.5
CWE-770
Published
Advisory Summary

CVE-2025-64529 is a LOW (CVSS 6.5) spicedb writerelationships fails silently if vulnerability (CWE-770: Allocation of Resources Without Limits or Throttling) affecting Github.com/authzed/spicedb libraries in the Go ecosystem. The issue involves spicedb writerelationships fails silently if payload is too big. Remediation is available by upgrading affected packages to version 1.45.2.

CVE-2025-64529 at a Glance

CVE Identifier CVE-2025-64529
GHSA Identifier GHSA-pm3x-jrhh-qcr7
Severity LOW
CVSS v3.1 Base Score 6.5
CWE Classification CWE-770: Allocation of Resources Without Limits or Throttling
Affected Product Github.com/authzed/spicedb
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability Low (A:L)

How to Fix CVE-2025-64529

To remediate this vulnerability, upgrade all affected Github.com/authzed/spicedb dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/authzed/spicedb fixed: 1.45.2
Upgrade github.com/authzed/spicedb to 1.45.2
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/authzed/spicedb

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-64529, inspect your project dependencies for Github.com/authzed/spicedb:

inspect dependencies for github.com/authzed/spicedb

Analyze the terminal output to locate any version of Github.com/authzed/spicedb in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.45.2), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-770: Allocation of Resources Without Limits or Throttling, where the product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated. In Github.com/authzed/spicedb, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact Users who 1. use the exclusion operator somewhere in their authorization schema 1. have configured their SpiceDB server such that `--write-relationships-max-updates-per-call` is bigger than 6500 1. 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`.

CVE-2025-64529 Affected Github.com/authzed/spicedb Versions

1 component(s)
Fixed Versions:
1.45.2
Product / Package Ecosystem Affected Versions Fixed Version
github.com/authzed/spicedb
Go
< 1.45.2
1.45.2

References

Frequently Asked Questions

What is CVE-2025-64529?
CVE-2025-64529 is a security vulnerability in Github.com/authzed/spicedb involving SpiceDB WriteRelationships fails silently if payload is too big under CWE-770: Allocation of Resources Without Limits or Throttling.
Which Github.com/authzed/spicedb versions are affected?
Affected versions include releases prior to 1.45.2 across affected packages: github.com/authzed/spicedb.
What version fixes CVE-2025-64529?
Upgrading to 1.45.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/authzed/spicedb affected?
Yes, github.com/authzed/spicedb is affected in releases prior to 1.45.2. Upgrade your dependency to 1.45.2 or later.
What is the CVSS score of CVE-2025-64529?
CVE-2025-64529 has a CVSS v3.1 base score of 6.5 (LOW) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L.
What CWE is associated with CVE-2025-64529?
CVE-2025-64529 is classified under CWE-770: Allocation of Resources Without Limits or Throttling (The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.).
How can I check Go dependencies for CVE-2025-64529?
Run the dependency tree command: 'inspect dependencies for github.com/authzed/spicedb'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-pm3x-jrhh-qcr7",
  "modified" : "2026-05-14T20:54:58Z",
  "published" : "2025-11-13T22:58:20Z",
  "aliases" : [ "CVE-2025-64529" ],
  "summary" : "SpiceDB WriteRelationships fails silently if payload is too big",
  "details" : "### Impact\n\nUsers who \n1. use the exclusion operator somewhere in their authorization schema\n1. have configured their SpiceDB server such that `--write-relationships-max-updates-per-call` is bigger than 6500\n1. issue calls to WriteRelationships with a large enough number of updates that cause the payload to be bigger than what their datastore allows\n\nwill \n\n1. receive a successful response from their `WriteRelationships` call, when in reality that call failed,\n2. receive incorrect permission check results, if those relationships had to be read to resolve the relation involving the exclusion\n\n### Patches\n\nUpgrade to v.145.2.\n\n### Workarounds\n\nSet `--write-relationships-max-updates-per-call` to `1000`.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"
  }, {
    "type" : "CVSS_V4",
    "score" : "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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/authzed/spicedb"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.45.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/authzed/spicedb/security/advisories/GHSA-pm3x-jrhh-qcr7"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-64529"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/authzed/spicedb/commit/d0cd103a92cc1915636733fb1d1730c2c7f74851"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/authzed/spicedb"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-770" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-11-13T22:58:20Z",
    "nvd_published_at" : "2025-11-10T23:15:42Z"
  }
}