Argument Injection Vulnerability in Bagel by Extelligence.ai
CVE-2026-138028
7.7HIGH
What is CVE-2026-138028?
Bagel (bagel-mcp) versions prior to 2.5.5 are susceptible to an argument injection vulnerability in the RsyncFilesToLocalDirectory function. This flaw enables attackers to inject unsafe rsync options, as only the --quiet and --log-format options are validated against injections. Through manipulating inputs, attackers can compel the application to run commands as the Bagel server process via options like -e/--rsh or --rsync-path, potentially compromising the security of the system.
Affected Version(s)
Bagel 0 < 2.5.5
