← VULNERABILITIES

CVE-2026-59415

TypesenseVectorStore doDelete filter injection via document ID allows unintended document deletion

Critical · 10.0Fix available
CVSS
10
EPSS
1.01% (p62)
Published
2026-11-24
Age
5d old
Modified
2026-11-25
Product
Spring Spring AI
Aliases
EUVD-2026-133788

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

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.

Fixed in

1.0.11 · 1.1.10 · 2.0.2.1 · 2.0.3

Affected packages

EcosystemPackageRangeFixed
vendorSpring AI>=1.0.0, <1.0.111.0.11
vendorSpring AI>=1.1.0, <1.1.101.1.10
vendorSpring AI>=2.0.0, <2.0.2.12.0.2.1
vendorSpring AI>=2.0.0, <2.0.32.0.3

Sources

  • NVD · first seen 5d ago · NVD terms of use
  • ENISA EUVD · first seen 5d ago · ENISA
  • CVE List · first seen 5d ago · CVE Terms of Use

References

JSON