RediSearch Query Injection and Tenant Isolation Bypass in RedisFilterExpressionConverter
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Spring | Spring AI | affected |
|
No data.
No data.
No data available yet.
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.336% probability within 30 days)
Key SSVC decision points have not yet been added.
| Type | Values Removed | Values Added |
|---|---|---|
| Description | RedisVectorStore is vulnerable to RediSearch query injection when metadata filter expressions are built from untrusted values. RedisFilterExpressionConverter translates Spring AI filter expressions into RediSearch query clauses, but escapes only a subset of the characters that RediSearch treats as query syntax. A value that reaches a filter expression from an untrusted source can therefore change the structure of the executed query instead of being matched as literal text. Compound filter expressions are additionally emitted without grouping, so RediSearch operator precedence can alter the effective meaning of a filter that combines several conditions. In applications that rely on metadata filters to enforce authorization or tenant isolation, this can broaden a similarity search beyond its intended scope and return documents and embeddings belonging to other tenants. Any application that incorporates user-supplied values into Redis vector store filter expressions is impacted. | |
| Title | RediSearch Query Injection and Tenant Isolation Bypass in RedisFilterExpressionConverter | |
| References |
| |
| Metrics |
cvssV3_1
|
No data.
No weakness.