VulnerabilitiesBagel MCP server patches rsync argument injection flaw
A flaw in the Bagel agent pipeline let prompt-injected text smuggle rsync options that run commands as the server process, according to the published advisory.
28 Nov 2026
Bagel (bagel-mcp) before 2.5.5 contains an argument injection vulnerability in RsyncFilesToLocalDirectory that allows attackers to inject rsync options and execute commands through prompt-injected content.
Disclosed 27 November 2026 · Record updated 28 November 2026
Attackers who influence the LLM through prompt-injected content can trigger execution of arbitrary commands as the Bagel server process by injecting rsync options like -e/--rsh or --rsync-path.
VulnerabilitiesA flaw in the Bagel agent pipeline let prompt-injected text smuggle rsync options that run commands as the server process, according to the published advisory.
28 Nov 2026