Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/Extelligence-ai/bagel/blob/v2.5.4/bagel_mcp/pipeline/tasks/rs
- https://github.com/Extelligence-ai/bagel/blob/v2.5.4/bagel_mcp/pipeline/tasks/rs
- https://github.com/Extelligence-ai/bagel/commit/cbec958edd9ce105b9005c9e31631b1d
- https://github.com/Extelligence-ai/bagel/releases/tag/v2.5.5
- https://github.com/Extelligence-ai/bagel/security/advisories/GHSA-gx2g-3pch-43q5
- https://www.vulncheck.com/advisories/bagel-before-2.5.5-argument-injection-via-r
FAQ
What is CVE-2026-138028?
CVE-2026-138028 is a vulnerability with a CVSS score of 7.5 (HIGH). 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...
How severe is CVE-2026-138028?
CVE-2026-138028 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-138028?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.