Vulnerability  ·  2026-12-04

Spring AI CoherenceVectorStore metadata filter bypass (cross-tenant / cross-user retrieval)

VulnerabilityMedium impactGlobalCVE-2026-59344
The Spring AI Coherence vector store builds its query extractor directly from a quoted key in the user-supplied filter DSL, without validating it against known metadata fields. This lets a filter expression bypass the metadata-scope constraint and read vectors outside the intended user/tenant partition — an authorization/access-control flaw (CWE-639-style key-based bypass) in the RAG retrieval path.
Spring AI vector stores commonly implement tenant/user isolation by metadata-filtering embeddings during retrieval. If the filter key is attacker-influenced and unchecked, a tenant can request vectors outside its scope — a cross-tenant information disclosure that breaks RAG isolation in multi-tenant enterprise AI deployments.
CoherenceFilterExpressionConverter builds the underlying Coherence extractor directly from a quoted key in the Spring AI filter DSL without validating that the key is a real metadata field, so a crafted filter expression can bypass the intended metadata-scope restriction and return records from other users/tenants in the Coherence backend.
Spring AI CoherenceVectorStore (CoherenceFilterExpressionConverter) — affected versions in the 1.0/1.1 line
Upgrade to the Spring AI version that fixes CoherenceFilterExpressionConverter (patched in the relevant Spring AI GA release); validate/whitelist metadata filter keys before transmission.
NVD — CVE-2026-59344Spring AI (spring.io) security advisories
See this in the live feed Explore related AI security and governance findings — updated every morning.
Open the feed →