News Security

Weaviate patches nearObject flaw that exposed protected vectors

Weaviate fixed a medium-severity flaw in its nearObject search that let users reconstruct vectors from collections they had no permission to read.

Weaviate has released version 1.39.3 of its vector database to fix a medium-severity flaw that let users recover vectors from collections they had no permission to read. Weaviate says the flaw sat in the GraphQL nearObject search operator, and a CVE identifier has been requested from MITRE and is pending.

A nearObject search takes a reference to an existing object and uses that object's vector as the search vector. Weaviate checked permission on the collection being searched, but not on the collection the reference pointed to. The caller never saw the protected object, yet the search returned distances to it. Those distances were enough to rebuild its vector. The reporter recovered a four-dimensional vector to within 5e-9 using eight probe objects.

An attacker needs the target collection's name, a specific object's UUID, permission to read collection definitions, and permission to create data in another collection for the probe vectors. Weaviate says the issue affects shared clusters that use role-based access control to separate collections. Versions before 1.39.3 are impacted. The fix checks authorization at the shared vector lookup, so every API using it is covered.

Weaviate Cloud and AWS, Azure and GCP Marketplace customers have already been patched. Weaviate says it has no indication of exploitation, and the flaw was reported by Civitasmass through its Vulnerability Disclosure Program.

Source: Weaviate security release – Medium severity fix for a cross-collection vector disclosure in nearObject (CVE pending assignment) | Weaviate.