CVE Catalog

CVE-2026-59361

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.34%

29th percentile - higher than 29% of all known CVEs

Summary

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 characters treated as query syntax, so a value from an untrusted source can change the query structure. Compound filter expressions are additionally emitted without grouping, so operator precedence can alter their meaning.

Risk Assessment

In applications relying on metadata filters for authorization or tenant isolation, this can broaden a similarity search beyond its intended scope and return documents and embeddings belonging to other tenants. This can lead to data confidentiality breaches.

Recommendation

Update Spring AI to a version containing the fix. Avoid passing untrusted values into Redis vector store filter expressions or apply additional validation and grouping of conditions.

Other vulnerabilities in Spring AI

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS