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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi bagel-mcp | < 2.5.5 | 2.5.5 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi bagel-mcp | < 2.5.5 | 2.5.5 |
References
- github.com technical-description
- github.com patch
- Bagel v2.5.5 Release Notes release-notes
- GitHub Security Advisory (GHSA-gx2g-3pch-43q5) vendor-advisory
- VulnCheck Advisory: Bagel before 2.5.5 Argument Injection via rsync Pipeline Task Options third-party-advisory
- ENISA EUVD EUVD-2026-137492 third-party-advisory
- nvd.nist.gov