Bagelのrsync処理に脆弱性、AIを介してコマンドを実行される恐れ
Summary
Bagel(bagel-mcp)2.5.5より前のバージョンには、RsyncFilesToLocalDirectoryでrsyncのオプションを注入できる脆弱性があります。プロンプトインジェクションでLLMを操作された攻撃者が、Bagelサーバーのプロセスとしてコマンドを実行できるおそれがあります。修正版の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より前のバージョンには、RsyncFilesToLocalDirectoryでrsyncのオプションを注入できる脆弱性があります。プロンプトインジェクションでLLMを操作された攻撃者が、Bagelサーバーのプロセスとしてコマンドを実行できるおそれがあります。修正版の2.5.5が公開されているので、速やかに更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Extelligence-aiBagel |
< 2.5.5→ 2.5.5 |
2.5.5 |
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- web github.com
- web github.com
- web github.com