User-controlled filter keys can bypass Coherence metadata filtering
- CVE-2026-59344
- GHSA-jp6w-j422-m2jg
- EUVD-2026-141028
Description
CoherenceVectorStore is vulnerable to a metadata filter bypass when evaluating filter expressions against an Oracle Coherence backend. CoherenceFilterExpressionConverter builds its underlying Coherence extractor directly from a quoted key in the Spring AI filter DSL, without validating that the key text represents a literal metadata field name. Certain key strings are interpreted by Coherence as operations on the metadata object itself rather than as a lookup of that field, which can cause a filter to match documents it was never meant to match. Applications that pass externally influenced or model-generated filter expressions to SearchRequest.filterExpression(...) against a Coherence-backed vector store are affected. An attacker able to control such an expression may cause metadata-based restrictions (for example tenant or document-scoping filters) to be bypassed, resulting in disclosure of documents that should have been excluded from the results.
Text from the CVE.org record.
Affected
Spring Spring AI
- from 2.0.0 to before 2.0.2.1
- from 1.1.0 to before 1.1.10
- from 1.0.0 to before 1.0.11
- from 2.0.0 to before 2.0.3
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.