CVE Catalog

CVE-2026-59369

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.36%

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

Summary

TypesenseVectorStore is vulnerable to a filter expression injection that can bypass application-enforced metadata filters. TypesenseFilterExpressionConverter escapes user-controlled filter values only as JSON string literals before embedding them in the filter_by string, but Typesense's tokenizer does not treat those escapes as delimiting a literal value, so a crafted value can terminate the intended clause and introduce additional filter conditions. Applications incorporating untrusted input into metadata filter values passed to SearchRequest.filterExpression(...) are affected.

Risk Assessment

An attacker controlling a filter value can inject an additional clause that overrides or extends application restrictions, such as tenant or permission scoping filters, disclosing documents that should not be visible. This can lead to data confidentiality breaches.

Recommendation

Update Spring AI to a version containing the fix. Avoid passing untrusted input directly into metadata filter expressions or apply additional validation.

Other vulnerabilities in Spring AI

See all
Original NVD description (English source)

TypesenseVectorStore is vulnerable to a filter expression injection that can bypass application-enforced metadata filters. TypesenseFilterExpressionConverter escapes user-controlled filter values only as JSON string literals before embedding them in the filter_by string sent to Typesense. Typesense's own filter-query tokenizer does not treat those escapes as delimiting a literal value and instead splits on characters that can appear inside an unescaped value, so a crafted value can terminate the intended clause and introduce additional filter conditions of the attacker's choosing. Applications that incorporate untrusted input into a metadata filter value passed to SearchRequest.filterExpression(...) (or otherwise reach TypesenseVectorStore 's filter conversion, including delete operations) are affected. An attacker who controls such a value can inject an additional clause that overrides or extends an application's own restrictions, such as a tenant- or permission-scoping filter, resulting in disclosure of documents that should not have been visible to them.

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