新着 / 2026年11月28日 / CVE-2026-138028
Bagel MCPのrsync引数インジェクションによるコマンド実行の脆弱性
掲載
何が問題か
Bagel(bagel-mcp)の2.5.5より前のバージョンには、RsyncFilesToLocalDirectoryにおける引数インジェクションの脆弱性があります。--quietと--log-formatの値しか拒否されていないため、rsyncのオプションを注入できます。LLMに対してプロンプトインジェクションを行える攻撃者は、-e/--rshや--rsync-pathを指定したrun_pipelineを実行させ、Bagelサーバープロセスの権限でコマンドを実行できる可能性があります。
悪用されると
悪用されると、攻撃者がBagelサーバープロセスの権限でコマンドを実行できる可能性があります。CVSS v4.0の基本スコアは7.7(HIGH)です。実際の悪用が確認されているかどうかは公表されていません。
取るべき対応
bagel-mcpを2.5.5以上に更新してください。修正版の詳細や回避策は公表されていないため、更新までの間はLLMが外部由来の入力を扱う経路を見直してください。
AIが出典から要約し、数値を機械照合しています。
更新履歴
初回掲載。
指標
| 深刻度(CVSS v4.0) | 重要 7.7CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
|---|---|
| 実際の攻撃での悪用 | CISA KEVには未掲載 |
| 問題の種類 | CWE-88 |
| CVE公開日 | 2026-11-27 |
出典
- NVD: CVE-2026-138028
- https://github.com/Extelligence-ai/bagel/blob/v2.5.4/bagel_mcp/pipeline/tasks/rsync_files.py#L134-L138
- https://github.com/Extelligence-ai/bagel/blob/v2.5.4/bagel_mcp/pipeline/tasks/rsync_files.py#L75-L84
- https://github.com/Extelligence-ai/bagel/commit/cbec958edd9ce105b9005c9e31631b1dc420ee4f
- https://github.com/Extelligence-ai/bagel/releases/tag/v2.5.5
- https://github.com/Extelligence-ai/bagel/security/advisories/GHSA-gx2g-3pch-43q5
- https://www.vulncheck.com/advisories/bagel-before-2.5.5-argument-injection-via-rsync-pipeline-task-options
公式の説明(英語の原文)
Bagel (bagel-mcp) before 2.5.5 contains an argument injection vulnerability in RsyncFilesToLocalDirectory that allows attackers to inject rsync options because only --quiet and --log-format values are rejected. Attackers who influence the LLM through prompt-injected content can trigger run_pipeline with -e/--rsh or --rsync-path options to execute commands as the Bagel server process.