Technical impact
The TypesenseVectorStore delete operation concatenates caller‑supplied document IDs directly into a Typesense filter_by expression using raw string concatenation. Because the filter grammar accepts syntactic characters such as commas, brackets, and logical operators without escaping, an attacker who supplies a specially crafted ID can break out of the intended list literal and inject arbitrary filter clauses. This allows deletion of documents beyond those explicitly requested, potentially driving bulk data loss.
Affected Systems
Spring AI’s TypesenseVectorStore component, which uses the Typesense search engine to implement vector storage. No specific version information is available; any deployment that routes external or user‑controlled document IDs to the VectorStore.delete(List<String>) API is susceptible.
Risk and Exploitability
The CVSS score of 10 highlights the high severity of this flaw. Unlike many injection bugs, the attack does not require elevated privileges; an attacker with the ability to invoke the delete API using arbitrary IDs can directly delete arbitrary documents. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Because the flaw relies on malicious input rather than a configuration error, the risk remains high until the component is updated or hardened. Immediate mitigation is required to prevent accidental or malicious bulk deletions.