threatdeck
Live 04:45 UTC ·

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

  1. Identify all deployments of bagel-mcp and confirm the installed version.
  2. Upgrade bagel-mcp to version 2.5.5 or later.
  3. Until patched, restrict or disable run_pipeline access for LLM-driven workflows that handle untrusted content.
  4. Review logs for run_pipeline calls containing -e, --rsh, or --rsync-path arguments and investigate any unexpected matches.
  5. 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”

NVD (AI keyword search)

“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.”

NVD (AI keyword search)

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

Following

Follow the vendors, products, AI tools, techniques and actors you care about. Matching stories, CVEs and exploited bugs are marked, a Following tab appears in the feed, and returning visits show what changed. Saved only in this browser.

Presets

Get updates

A personal RSS feed of new stories on everything you follow. Paste it into any feed reader, Slack or Teams RSS app.