# CVE-2026-59415: TypesenseVectorStore doDelete filter injection via document ID allows unintended document deletion

- Priority: **Routine**
- Reason: Not severe (CVSS 8.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-24 · Modified: 2026-12-02
- Record: https://cvemate.com/vulnerability/CVE-2026-59415 · JSON: https://cvemate.com/vulnerability/CVE-2026-59415/json

## Description

```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.
```

## Signals

- CVSS: 8.1 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
- EPSS: 0.813%, percentile 58.327%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- spring spring ai: ≥ 2.0.0, \< 2.0.3 \| ≥ 1.1.0, \< 1.1.10 \| ≥ 1.0.0, \< 1.0.11 \| ≥ 2.0.0, \< 2.0.2.1

## References

- <https://spring.io/security/cve-2026-59415>

---

Data as of 2026-12-05T04:05:04.281Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
