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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-88"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138028.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "2.5.5"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "cbec958edd9ce105b9005c9e31631b1dc420ee4f"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v2.5.5",
"range": [
{
"fixed": "cbec958edd9ce105b9005c9e31631b1dc420ee4f"
}
],
"source": "REFERENCES_TAG"
}
]
}