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

- Severity: High 8.1 (CVSS:3.1, scored by vmware) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.81%, higher than 58% of CVEs (2026-12-02)
- Published: 2026-11-24T10:30:33.317Z
- Modified: 2026-12-02T07:17:17.567Z
- Weaknesses: CWE-74
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: vmware

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

(As written by CVE List.)

## Affected

- Spring Spring AI: from 2.0.0 before 2.0.3; from 1.1.0 before 1.1.10; from 1.0.0 before 1.0.11; from 2.0.0 before 2.0.2.1

## References

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

## Sources

- CVE List: [CVE-2026-59415](https://www.cve.org/CVERecord?id=CVE-2026-59415), CVE Terms of Use, modified 2026-12-02
- NVD: [CVE-2026-59415](https://nvd.nist.gov/vuln/detail/CVE-2026-59415), Public domain, modified 2026-12-02

---

Page: https://cve.day/CVE-2026-59415 · Whole record: https://cve.day/CVE-2026-59415.json · Rebuilt by cve.day 2026-12-02T07:32:32.238Z
