CVE-2026-59361
RediSearch Query Injection and Tenant Isolation Bypass in RedisFilterExpressionConverter
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework.ai » spring-ai-redis-store | >= 1.0.0, <= 1.0.10>= 1.1.0, <= 1.1.9>= 2.0.0, < 2.0.3 | 2.0.3 |
Blast radius
60% of the dependent artifacts (3) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 26 |
| 2 hops | 112 |
Most used dependents
- org.springframework.ai » spring-ai-starter-vector-store-redis3 usages
- org.springframework.ai » spring-ai-redis-semantic-cache1 usages
- io.github.tyran8x » tr-common-ai0 usages
- com.chinagoods.framework.thinkcloud » think-cloud-starter-ai-vector-redis0 usages
- io.gitee.cdhong » ai-memory-rag0 usages
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.
