TypesenseVectorStore doDelete filter injection via document ID allows unintended document deletion

State
Published
Severity
10.0 Critical
Published
Nov 24, 2026
Updated
Nov 25, 2026
Reserved
Jul 4, 2026

Read the record on cve.org

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.

ProductVersions
Spring AI Spring2.0.0 to before 2.0.3 Affected1.1.0 to before 1.1.10 Affected1.0.0 to before 1.0.11 Affected2.0.0 to before 2.0.2.1 Affected

Weaknesses

  • CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.