Typesense filter group translation flaw can bypass tenant isolation (CVE-2026-59442)

Spring AI's TypesenseFilterExpressionConverter does not correctly translate grouped (parenthesized) filter expressions into Typesense filter syntax. This can cause filters sent to Typesense to have a different meaning than intended, potentially allowing remote users to retrieve or delete documents outside their authorized scope when groups are used for tenant isolation or access control.

Overview

CVE-2026-59442 affects applications using the Typesense vector store with grouped filter expressions. The Spring advisory linked from the NVD entry describes the issue as follows:

- TypesenseFilterExpressionConverter does not correctly translate grouped (parenthesized) filter expressions into the Typesense filter syntax. - The filter sent to Typesense can have a different meaning than the one the application defined, and some conditions may not be applied as intended. - An application is affected if it uses the Typesense vector store with filter expressions that contain groups and relies on them to restrict results, for example to enforce tenant isolation or access control. - A remote user may be able to retrieve documents they should not have access to, and the same filter used for a delete operation may remove documents outside the intended scope.

Impact

This is a high-severity authorization/access-control issue. The most serious risk is tenant isolation bypass: a user may be able to query or delete documents belonging to other tenants if the application relies on grouped filter expressions to scope those operations.

What to do

1. Review the NVD entry and the Spring advisory for the latest details and any fixed version information. 2. Identify all applications using the Typesense vector store with grouped/parenthesized filter expressions, especially where those filters enforce tenant isolation or access control. 3. Patch or upgrade to the vendor-recommended fixed version once confirmed. No fixed version number is listed in the provided evidence, so verify the advisory before changing production systems. 4. If an immediate patch is not possible, review and simplify filter expressions that use groups, and consider adding application-layer tenant scoping as a compensating control. 5. Audit recent Typesense query and delete operations for signs of unintended cross-tenant access or deletion. 6. Monitor the vendor advisory for updates and apply the official fix as soon as it is available.

Sources