Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreCoherenceVectorStore 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.
Spring AI:
| Fix version | Availability |
|---|---|
| 2.0.3 | OSS |
| 2.0.2.1 | Enterprise Support Only |
| 1.1.10 | Enterprise Support Only |
| 1.0.11 | Enterprise Support Only |
No further mitigation steps are necessary.
The issue was reported responsibly by Tran Hoang Phuc Quan - https://github.com/PhucQuan ([email protected]) from Viettel Networks
To report a security vulnerability for a project within the Spring portfolio, see the Security Policy