CVE-2026-138028
Bagel before 2.5.5 Argument Injection via rsync Pipeline Task Options
High · 7.7Fix available
- CVSS
- 7.7
- EPSS
- —
- Published
- 2026-11-27
- Age
- 20h old
- Modified
- 2026-11-27
- Product
- Extelligence-ai Bagel
- Aliases
- GHSA-gx2g-3pch-43q5, CVE-2026-138027
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
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.
Fixed in
2.5.5
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | Bagel | >=0, <2.5.5 | 2.5.5 |
Sources
- NVD · first seen 18h ago · NVD terms of use
- OSV · first seen 18h ago · CC-BY 4.0
- CVE List · first seen 19h ago · CVE Terms of Use
References
- https://github.com/Extelligence-ai/bagel/security/advisories/GHSA-gx2g-3pch-43q5 vendor-advisory
- https://github.com/Extelligence-ai/bagel/commit/cbec958edd9ce105b9005c9e31631b1dc420ee4f patch
- https://github.com/Extelligence-ai/bagel/releases/tag/v2.5.5 release-notes
- https://github.com/Extelligence-ai/bagel/blob/v2.5.4/bagel_mcp/pipeline/tasks/rsync_files.py#L75-L84 technical-description
- https://github.com/Extelligence-ai/bagel/blob/v2.5.4/bagel_mcp/pipeline/tasks/rsync_files.py#L134-L138 technical-description
- https://www.vulncheck.com/advisories/bagel-before-2.5.5-argument-injection-via-rsync-pipeline-task-options third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138028.json advisory
- https://github.com/Extelligence-ai/bagel package
- https://nvd.nist.gov/vuln/detail/CVE-2026-138028 advisory