p PatchFirst

CVE-2026-59415

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

CVSS 10.0 · Critical · EPSS 0.9% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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
Updated

Affected products and versions

  • spring ai

    Versions
    • ≥ 2.0.0, < 2.0.3: Affected (OSS)
    • ≥ 1.1.0, < 1.1.10: Affected (Enterprise Support Only)
    • ≥ 1.0.0, < 1.0.11: Affected (Enterprise Support Only)
    • ≥ 2.0.0, < 2.0.2.1: Affected (Enterprise Support Only)

    Update to 1.0.11; Update to 1.1.10; Update to 2.0.3

Original sources

Check your server →