CVE-2026-59415
Document ID injection in TypesenseVectorStore delete
- CVSS 3.1
- 10.0 critical
- EPSS
- —
- Published
- ·
- Modified
TypesenseVectorStore.doDelete builds a Typesense filter by concatenating caller-supplied document IDs with no escaping. An attacker who controls an ID passed to VectorStore.delete can break out of the id list and delete other documents, or every document in the collection. Applications that pass externally supplied document IDs to a Typesense-backed VectorStore are affected. No affected or fixed versions are listed.
What to do: No fixed version is listed. Do not pass externally supplied document IDs to VectorStore.delete backed by TypesenseVectorStore.
| Product | Affected |
|---|---|
| VMware TypesenseVectorStore | — |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
Description · NVD
TypesenseVectorStore is vulnerable to a document ID injection in its delete operation that can cause unintended documents to be deleted. TypesenseVectorStore.doDelete(List ) 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 ) backed by TypesenseVectorStore are affected.
- Weakness
- CWE-74
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
In the news
0 storiesNo ingested article mentions this CVE yet.