CVE-2025-64529
NixOS vulnerability analysis and mitigation

Overview

SpiceDB, an open source database system for creating and managing security-critical application permissions, was found to have a vulnerability where WriteRelationships fails silently if the payload exceeds size limits. The vulnerability (CVE-2025-64529) was discovered and disclosed on November 10, 2025, affecting versions prior to 1.45.2 (GitHub Advisory).

Technical details

The vulnerability exists in the PostgreSQL datastore implementation of SpiceDB, specifically in the pgReadWriteTXN.WriteRelationships function. The root cause was identified as a silent failure where the function performed bulk database writes without checking for errors after operation completion. When users submitted WriteRelationships requests exceeding PostgreSQL's internal limit of 65,535 parameters, the database would generate an error that the application would ignore, resulting in relationships not being written to the database while falsely reporting success (Miggo).

Impact

The vulnerability affects users who utilize the exclusion operator in their authorization schema and have configured their SpiceDB server with --write-relationships-max-updates-per-call larger than 6500. These users will receive successful responses from WriteRelationships calls even when the operation actually failed, leading to incorrect permission check results when those relationships need to be read to resolve relations involving exclusion (GitHub Advisory).

Mitigation and workarounds

Two primary mitigation options are available: upgrading to SpiceDB version 1.45.2 which contains the patch, or implementing a workaround by setting --write-relationships-max-updates-per-call to 1000. The patch adds explicit error checking through rows.Err() after database queries and introduces a new error handling function, handleWriteError, to properly identify and report PostgreSQL parameter limit errors (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22783HIGH8.1
  • NixOSNixOS
  • iris
NoYesJan 12, 2026
CVE-2026-0821MEDIUM6.9
  • NixOSNixOS
  • quickjs
NoNoJan 10, 2026
CVE-2025-68949MEDIUM5.3
  • NixOSNixOS
  • n8n
NoYesJan 13, 2026
CVE-2026-22784LOW2.3
  • NixOSNixOS
  • lychee
NoYesJan 12, 2026
CVE-2026-23497LOW1.3
  • NixOSNixOS
  • learning
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management