News Security

Weaviate patches high-severity Google credential leak flaw

Weaviate fixed a high-severity flaw that could send a Google credential to an attacker-chosen host through the apiEndpoint setting in its Google modules.

Weaviate released version 1.39.3 of its vector database to fix a high-severity flaw that could send a Google credential to an attacker-chosen host. Weaviate says the issue affects its Google modules, and a CVE identifier has been requested but not yet assigned. The CVSS score is 7.1, and all earlier versions are affected.

The three modules, text2vec-google, multi2vec-google and generative-google, let users set the host for outbound Vertex AI and Gemini requests through a setting called apiEndpoint. Weaviate says that value went into the request address without validation. The operator's Google credential was attached to the request as a bearer token, whatever the destination.

Two paths could set the value. Changing collection configuration requires schema-write privileges. Weaviate calls the second path more serious: a generative query could carry its own apiEndpoint, and that needs only ordinary read access to a collection already using generative-google.

The exposed credential depends on the setup. A static API key is disclosed where one is configured. With USE_GOOGLE_AUTH enabled, the exposed item is a live OAuth access token scoped to cloud-platform, which reaches most Google Cloud APIs available to the service account. The fix validates apiEndpoint in all three modules. Weaviate Cloud and marketplace customers have already been patched, and the modules can be disabled until an upgrade by removing them from the enabled_modules flag.

Source: Weaviate security release – High severity fix for credential disclosure in the Google modules | Weaviate.