B
今週中
TypesenseVectorStoreの削除操作において、ドキュメントIDのインジェクションが可能な脆弱性
📌 一言でいうと
TypesenseVectorStoreの削除操作において、ドキュメントIDのインジェクションが可能な脆弱性が発見されました。攻撃者が細工したIDを渡すことで、意図しないドキュメントの削除や、コレクション全体のバルク削除が行われる可能性があります。CVSSスコアは10.0の最高危険度となっており、外部からの入力をそのまま削除処理に渡しているアプリケーションが影響を受けます。
🔍該当判定
- 検索エンジンとして「Typesense」を導入して利用している
- AI(LLaMAIndexやLangChain等)のベクトルストアとして「TypesenseVectorStore」を利用している
- 外部ユーザーが入力したIDをそのまま使って、Typesense上のデータを削除する機能を実装している
上記いずれにも該当しない → 静観でOK
✅該当時の対応
1. 外部から入力されたドキュメントIDをそのままTypesenseVectorStore.doDeleteに渡さないよう、入力値のバリデーションまたはサニタイズを実装してください。 2. 最新のパッチまたは修正版のライブラリが提供されているか確認し、適用してください。
📧 メール案を見る (管理者向け)
⚠️ これは AI が生成した参考例です。配信前に必ず内容をご確認のうえ、貴社の状況に合わせて編集してご利用ください。実際の被害状況や自社の利用環境を踏まえた判断は、貴社のセキュリティ責任者にご確認ください。
件名: 【共有】TypesenseVectorStore CVE-2026-59415 対応について
お疲れさまです。TypesenseVectorStoreにおける深刻な脆弱性に関する情報共有です。
■ 概要
ドキュメントIDの削除操作において、文字列連結によるフィルタ式構築が行われているため、IDインジェクションが可能です。これにより、意図しないデータの削除や全データ削除が行われるリスクがあります。CVSS 10.0 (CRITICAL) と評価されています。
■ 影響範囲
- TypesenseVectorStore を利用し、外部からの入力を VectorStore.delete(List<String>) に渡しているアプリケーション
■ 対応手順
1. 該当コンポーネントを利用している箇所のコードを確認し、ユーザー入力値が直接削除クエリに使用されていないか検証してください。
2. 入力値に対する厳格なバリデーションを実装し、カンマ(,)やブラケット(])などの制御文字を排除してください。
3. ベンダーから修正版が提供されている場合は、速やかにアップデートを適用してください。
■ 参考情報
- NVD CVE-2026-59415
対応優先度: 高
対応期限: 速やかに
お疲れさまです。TypesenseVectorStoreにおける深刻な脆弱性に関する情報共有です。
■ 概要
ドキュメントIDの削除操作において、文字列連結によるフィルタ式構築が行われているため、IDインジェクションが可能です。これにより、意図しないデータの削除や全データ削除が行われるリスクがあります。CVSS 10.0 (CRITICAL) と評価されています。
■ 影響範囲
- TypesenseVectorStore を利用し、外部からの入力を VectorStore.delete(List<String>) に渡しているアプリケーション
■ 対応手順
1. 該当コンポーネントを利用している箇所のコードを確認し、ユーザー入力値が直接削除クエリに使用されていないか検証してください。
2. 入力値に対する厳格なバリデーションを実装し、カンマ(,)やブラケット(])などの制御文字を排除してください。
3. ベンダーから修正版が提供されている場合は、速やかにアップデートを適用してください。
■ 参考情報
- NVD CVE-2026-59415
対応優先度: 高
対応期限: 速やかに
Subject: [Security Advisory] TypesenseVectorStore CVE-2026-59415
Dear team,
We are sharing information regarding a critical vulnerability in TypesenseVectorStore.
■ Overview
A document ID injection vulnerability exists in the delete operation due to raw string concatenation when building filter expressions. This allows an attacker to delete unintended documents or perform bulk deletions of the entire collection. The CVSS score is 10.0 (CRITICAL).
■ Scope
- Applications using TypesenseVectorStore that pass externally supplied or user-controlled IDs to VectorStore.delete(List<String>).
■ Mitigation Steps
1. Review the codebase to identify where user-controlled IDs are passed to the delete operation.
2. Implement strict input validation or sanitization to prevent the injection of characters such as commas (,) and closing brackets (]).
3. Apply the latest security patches or library updates provided by the vendor.
■ Reference
- NVD CVE-2026-59415
Priority: High
Deadline: Immediate
Dear team,
We are sharing information regarding a critical vulnerability in TypesenseVectorStore.
■ Overview
A document ID injection vulnerability exists in the delete operation due to raw string concatenation when building filter expressions. This allows an attacker to delete unintended documents or perform bulk deletions of the entire collection. The CVSS score is 10.0 (CRITICAL).
■ Scope
- Applications using TypesenseVectorStore that pass externally supplied or user-controlled IDs to VectorStore.delete(List<String>).
■ Mitigation Steps
1. Review the codebase to identify where user-controlled IDs are passed to the delete operation.
2. Implement strict input validation or sanitization to prevent the injection of characters such as commas (,) and closing brackets (]).
3. Apply the latest security patches or library updates provided by the vendor.
■ Reference
- NVD CVE-2026-59415
Priority: High
Deadline: Immediate