CVE-2026-59415Spring AI
Document ID Injection in TypesenseVectorStore in Spring AI
Critical 10.0 No auth neededRecent
Follow: this CVE · Spring · Spring AI We alert you by email or Slack (account required).
- Priority
- 82
- CVSS 3.1
- 10.0
- EPSS
- —
- Auth required
- No
- Published
- Nov 24, 2026
- Updated
- Nov 25, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-74
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
What happens
TypesenseVectorStore in Spring AI is vulnerable to document ID injection in its delete operation. An attacker controlling document IDs can inject special characters (commas, brackets, operators) to delete unintended documents or perform bulk deletion. Affects applications passing externally controlled document IDs to VectorStore.delete().
Show the original NVD text
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.
What to do
No patch data
Check Spring's security advisory for patched versions and apply the available update.
- Apply the vendor's security update for Spring AI.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- Spring · Spring AI
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.