Critical · 10.0 Critical vulnerabilities CVE-2026-59415
Document ID Injection in TypesenseVectorStore Delete Operation Allows Unintended Bulk Deletion (CVE-2026-59415)
TypesenseVectorStore's delete operation builds filter expressions by raw string concatenation of document IDs, allowing an attacker who controls a document ID to delete unintended documents or wipe an entire collection.
By PatchBriefing ·
Produced automatically from official sources with the help of AI. How we work →
AI summary
A vulnerability has been disclosed affecting TypesenseVectorStore, a component used to interface with the Typesense search engine for vector storage operations. The issue, tracked as CVE-2026-59415, concerns how the delete operation constructs filter queries from document IDs, and it has received the maximum CVSS severity score of 10.0. No fix is currently available for this issue.
What happened
A document ID injection vulnerability was disclosed in the delete operation of TypesenseVectorStore. The function responsible for deleting documents, doDelete(List<String>), constructs a Typesense filter_by expression by directly concatenating caller-supplied document IDs into a list literal of the form id: [id1,id2,...], without any escaping or validation.
Technical cause
The Typesense id field uses bare, unquoted values inside this list-literal filter syntax, and the underlying filter grammar provides no escaping mechanism for special characters. As a result, a document ID containing characters that have syntactic meaning in the filter grammar — such as a comma, a closing bracket, or logical operator tokens like || and && — can break out of the intended list literal and alter the structure of the resulting filter expression.
Why it matters
An attacker who is able to control a document ID that gets passed to the delete operation can exploit this flaw in two ways: by injecting a comma to append additional, unintended document IDs to the deletion list, or by injecting operator tokens to construct a filter condition that matches every document in a collection. The latter case results in unintended bulk deletion of all documents stored in that collection.
Who is affected
Applications that pass externally supplied or user-controlled document IDs to the VectorStore delete function when backed by TypesenseVectorStore are affected. Any system where document identifiers can originate from untrusted input and are subsequently used in delete calls is at risk, regardless of whether the caller is authenticated.
Affected versions
The fact package does not specify which versions of TypesenseVectorStore are affected or which product this library belongs to. We cannot provide version-specific guidance at this time; readers should consult the original advisory record for the component in question.
Fixes and mitigation
No fix is currently available for this vulnerability. Until a vendor update is released, organizations should avoid passing externally supplied or user-controlled values directly as document IDs to delete operations, or implement strict validation/sanitization of document IDs (e.g., restricting them to a safe character set) before they reach the delete function.
Recommended action
Review any application code that calls VectorStore.delete(List<String>) backed by TypesenseVectorStore and determine whether document IDs passed to this function can be influenced by external or user-controlled input. Where this is the case, implement input validation to reject IDs containing characters such as commas, brackets, or logical operator tokens until an official fix is released. Monitor for a vendor update addressing this issue.
PatchBriefing score
10.0 / 10 · Critical
Official CVSS: 10.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS 0.0094 (59 percentile)
Why this score
The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.
Affected versions
Reported fixes
No fix is currently available for this vulnerability. Until a vendor update is released, organizations should avoid passing externally supplied or user-controlled values directly as document IDs to delete operations, or implement strict validation/sanitization of document IDs (e.g., restricting them to a safe character set) before they reach the delete function.
How this was built
2 source records were collected, matched and used to prepare the report above.
-
NVD (NIST) database
-
CVE.org database
Revision history
- Published
- Generated