cvelo
P2 · HighCVSS 7.5EPSS 0.3%

RediSearch Query Injection and Tenant Isolation Bypass in RedisFilterExpressionConverter

  • CVE-2026-59361
  • GHSA-p9qg-jw8p-qf2g
  • EUVD-2026-141036

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.

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

  1. Published

Related news

No article from the followed outlets names this vulnerability.