CVE-2026-59415: TypesenseVectorStore doDelete filter injection via document ID allows unintended document deletion
Exploitation: None known · CVSS 10.0 Critical · Unauthenticated · Published 2026-11-24
Description
TypesenseVectorStore is vulnerable to a document ID injection in its delete operation that can cause unintended documents to be deleted. TypesenseVectorStore.doDelete(List<String>) builds a Typesense filter_by expression by raw string concatenation of caller-supplied document IDs into the form id: [id1,id2,...] . The Typesense id field uses bare (unquoted) values in this list form with no escaping mechanism. An ID containing characters with syntactic meaning in the Typesense filter grammar — such as a comma ( , ), a closing bracket ( ] ), or operator tokens ( || , && ) — can break out of the list literal and alter the structure of the filter expression. An attacker who controls a document ID passed to the delete operation can use this to delete documents other than the intended ones (comma injection), or to construct a filter that matches every document in the collection (operator breakout), resulting in unintended bulk deletion. Applications that pass externally supplied or user-controlled document IDs to VectorStore.delete(List<String>) backed by TypesenseVectorStore are affected.
Enclave's analysis
Spring AI's TypesenseVectorStore builds its delete filter by pasting document IDs straight into a query string, so a comma, bracket, or operator in an ID can rewrite the filter and wipe out other documents or the whole collection. It only bites if the app hands Typesense a document ID that came from outside, like a user-supplied record key. No public exploit code exists yet, and the vendor's own HIGH rating contradicts NVD's CRITICAL 10.0 score. Upgrade to the fixed version, or validate/allowlist document IDs in the meantime.
Fix
Upgrade Spring AI (spring-ai-typesense-store) to 2.0.3 (OSS); 2.0.2.1 / 1.1.10 / 1.0.11 (Enterprise Support). No fixed version is listed for Spring AI; follow the vendor advisory.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| Spring AI | 2.0.0 before 2.0.3 | Not listed |
| Spring AI | 1.1.0 before 1.1.10 | Not listed |
| Spring AI | 1.0.0 before 1.0.11 | Not listed |
| Spring AI | 2.0.0 before 2.0.2.1 | Not listed |
| Spring AI (spring-ai-typesense-store) | >=2.0.0, <2.0.3 (OSS); 1.1.0-1.1.9, 1.0.0-1.0.10, 2.0.0-2.0.2 (Enterprise Support only) | 2.0.3 (OSS); 2.0.2.1 / 1.1.10 / 1.0.11 (Enterprise Support) |