AI Stack Alert High CVE-2026-138028 For CISO, SOC / IR, AppSec, AI Eng AI-assisted
CVE-2026-138028: Bagel (bagel-mcp) before 2.5.5 argument injection in RsyncFilesToLocalDirectory
Bagel (bagel-mcp) before version 2.5.5 contains an argument injection flaw in RsyncFilesToLocalDirectory. Only --quiet and --log-format values are rejected, so attackers can inject other rsync options. Per the source, an attacker who influences the LLM through prompt-injected content can trigger run_pipeline with -e/--rsh or --rsync-path to execute commands as the Bagel server process. The CVSS base score is 7.7.
Why it matters
Organizations running bagel-mcp MCP servers may have a remote command execution path reachable through untrusted content processed by an LLM. Successful exploitation runs commands with the privileges of the Bagel server process.
Do this
- Identify all deployments of bagel-mcp and confirm the installed version.
- Upgrade bagel-mcp to version 2.5.5 or later.
- Until patched, restrict or disable run_pipeline access for LLM-driven workflows that handle untrusted content.
- Review logs for run_pipeline calls containing -e, --rsh, or --rsync-path arguments and investigate any unexpected matches.
- Run the Bagel server under a low-privilege account with restricted filesystem and network access.
Exploit Clock
No signals yet
- No exploitation signals yet
Signals
- NoCISA KEV
- 7.7CVSS
- NoPublic PoC
- 36/100Priority
- 80%Confidence
Evidence
“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.”
Sources
Affected / related
bagel-mcp, bagel-mcp, argument injection
Published 2026-11-27 20:18 UTC · updated 2026-11-27 22:35 UTC · AI-assisted summary, checked against quoted sources · How we score