HIGH

CVE-2026-59369

Typesense Vector Store filter expression injection bypasses tenant isolation

Description

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework.ai » spring-ai-typesense-store
>= 1.0.0, <= 1.0.10>= 1.1.0, <= 1.1.9>= 2.0.0, < 2.0.3
2.0.3

Blast radius

1affected artifacts
22affected versions
1dependent artifacts (est.)
22dependent versions

0% of the dependent artifacts (0) still pull an affected version in their latest release.

DepthDependent versions
Direct
22

Most used dependents

Computed from the dependency graph of build 20261125.2201 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.