Skip to content
HighVulnerability

CVE-2026-59361: RedisVectorStore RediSearch query injection through metadata filter expressions

Identifier
CVE-2026-59361
Published
Record updated
View JSON

Summary

RedisVectorStore in Spring AI is vulnerable to RediSearch query injection when metadata filter expressions are built from untrusted values. RedisFilterExpressionConverter escapes only a subset of RediSearch query syntax characters, and compound filters are emitted without grouping, so operator precedence can alter their meaning. In applications that use metadata filters for authorization or tenant isolation, this can broaden similarity searches to return documents and embeddings belonging to other tenants.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.