Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
Critical 10.0CVE-2026-59415

TypesenseVectorStore doDelete filter injection via document ID allows unintended document deletion

Published 24/11/2026 · Updated 25/11/2026 · Spring AI

Original 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.

Affected products and versions

Spring Spring AI2.0.0 – < 2.0.3 · 1.1.0 – < 1.1.10 · 1.0.0 – < 1.0.11 · 2.0.0 – < 2.0.2.1Fixed in: 2.0.3 · 1.1.10 · 1.0.11 · 2.0.2.1

CVSS vector, explained

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Attack vector
Network (from the internet)
Attack complexity
Low
Privileges required
None (no login)
User interaction
Not required
Scope
Affects other components
Confidentiality
High impact
Integrity
High impact
Availability
High impact

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Summaries are AI-written under strict rules; always check the vendor's official advisory.