Skip to content
High 7.7

Bagelに脆弱性、プロンプトインジェクションでファイルを読み書きされるおそれ

CVE-2026-138027 First seen on SecPulse

Summary

Bagel(bagel-mcp)の2.5.5より前のバージョンには、読み取り専用のquery_messagesツールでDuckDBのSQLがサンドボックスなしで実行される脆弱性があります。攻撃者は記録されたログやトピックを通じてLLMに不正な指示を与え、ファイルの読み書きやサーバー側からのリクエストを行わせるおそれがあります。修正版の2.5.5が公開されているため、更新をおすすめします。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Bagel(bagel-mcp)の2.5.5より前のバージョンには、読み取り専用のquery_messagesツールでDuckDBのSQLがサンドボックスなしで実行される脆弱性があります。攻撃者は記録されたログやトピックを通じてLLMに不正な指示を与え、ファイルの読み書きやサーバー側からのリクエストを行わせるおそれがあります。修正版の2.5.5が公開されているため、更新をおすすめします。

Affected packages

PackageAffected → Fixed
Extelligence-aiBagel
< 2.5.5→ 2.5.5
Original description The description as published by the source.

Bagel (bagel-mcp) before 2.5.5 exposes unsandboxed DuckDB SQL execution through the read-only annotated query_messages MCP tool, allowing file access and network requests. Attackers who prompt-inject the driving LLM via recorded logs or topics can invoke read_csv_auto, COPY TO, or httpfs to read and write files and perform server-side request forgery.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details