脆弱性ウォッチ

新着 / 2026年11月25日 / CVE-2026-59415

TypesenseVectorStoreの削除処理におけるドキュメントID注入の脆弱性

緊急 10.0

掲載

何が問題か

TypesenseVectorStoreのdoDelete(List<String>)は、呼び出し元から渡されたドキュメントIDを文字列連結でTypesenseのfilter_by式に組み込んでいます。IDに特定の記号や演算子が含まれると式の構造が変わり、意図しないドキュメントが削除される可能性があります。修正版の情報は公表されていません。

悪用されると

外部から与えられたIDを攻撃者が制御できる場合、他のドキュメントが削除されたり、コレクション内の全ドキュメントに一致する条件が作られて大量削除が起きたりする可能性があります。CVSSスコアは10.0(Critical)と公表されています。

取るべき対応

外部入力やユーザー指定のIDをVectorStore.delete(List<String>)に直接渡していないかを確認し、必要に応じてIDの検証や除外を行ってください。修正版の提供状況は公表されていないため、利用中のバージョンと公式の更新情報を確認してください。

AIが出典から要約し、数値を機械照合しています。

更新履歴

  1. 初回掲載。

指標

深刻度(CVSS v3.1)緊急 10.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
実際の攻撃での悪用CISA KEVには未掲載
30日以内に悪用される確率(EPSS)0.9%(全体の上位 40.9%)
問題の種類CWE-74
CVE公開日2026-11-24

出典

公式の説明(英語の原文)

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.