← Back to the monthly list · Spring →
CVE-2026-59415 Spring · Spring AI
AI summary
The Spring AI TypesenseVectorStore delete operation concatenates document IDs into the filter expression without escaping, so an attacker-controlled ID can delete unintended documents or the entire collection. Applications passing external or user-controlled IDs to VectorStore.delete(List<String>) are affected; critical (CVSS 10.0), validate user-supplied IDs.
Official 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.
- Published
- 2026-11-24 11:17 UTC
- Modified
- 2026-11-25 14:17 UTC
- CVSS
- 10.0 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H - EPSS
- 0.94% (percentile 59)
- ENISA EUVD
- EUVD-2026-133788
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: total
- CWE
- CWE-74
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Scope
- changed
- Confidentiality
- high
- Integrity
- high
- Availability
- high