HIGH

CVE-2026-59344

User-controlled filter keys can bypass Coherence metadata filtering

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework.ai » spring-ai-coherence-store
>= 1.0.0, <= 1.0.10>= 1.1.0, <= 1.1.9>= 2.0.0, < 2.0.3
2.0.3

Blast radius

1affected artifacts
22affected versions
3dependent artifacts (est.)
49dependent versions

0% of the dependent artifacts (0) still pull an affected version in their latest release.

DepthDependent versions
Direct
17
2 hops
32

Most used dependents

Computed from the dependency graph of build 20261125.2201 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.