CVE-2026-59361 PUBLISHED

RediSearch Query Injection and Tenant Isolation Bypass in RedisFilterExpressionConverter

Assigner: vmware
Reserved: 04.07.2026 Published: 02.12.2026 Updated: 02.12.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS Score: 7.5

Product Status

Vendor Spring
Product Spring AI
Versions
  • affected from 2.0.0 to 2.0.2.1 (excl.)
  • affected from 1.1.0 to 1.1.10 (excl.)
  • affected from 1.0.0 to 1.0.11 (excl.)
  • affected from 2.0.0 to 2.0.3 (excl.)

Credits

  • The issue was reported responsibly by Raphael Zanarelli - https://github.com/zanarellidev

References