Skip to content

CVE-2026-138028 Bagel before 2.5.5 Argument Injection via rsync Pipeline Task Options

HighCVSS 7.7 EPSS 0.58%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

Description

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
pypi bagel-mcp < 2.5.5 2.5.5 Fixed

Affected products

ProductAffected versionsFixed in
pypi bagel-mcp < 2.5.5 2.5.5

References