{"id":"CVE-2026-138028","aliases":["GHSA-gx2g-3pch-43q5","CVE-2026-138027"],"title":"Bagel before 2.5.5 Argument Injection via rsync Pipeline Task Options","originalDescription":"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.","severity":{"cvss":7.7,"vector":"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","label":"high"},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[{"ecosystem":"vendor","name":"Bagel","range":">=0, <2.5.5","fixed":"2.5.5"}],"references":[{"url":"https://github.com/Extelligence-ai/bagel/security/advisories/GHSA-gx2g-3pch-43q5","type":"vendor-advisory"},{"url":"https://github.com/Extelligence-ai/bagel/commit/cbec958edd9ce105b9005c9e31631b1dc420ee4f","type":"patch"},{"url":"https://github.com/Extelligence-ai/bagel/releases/tag/v2.5.5","type":"release-notes"},{"url":"https://github.com/Extelligence-ai/bagel/blob/v2.5.4/bagel_mcp/pipeline/tasks/rsync_files.py#L75-L84","type":"technical-description"},{"url":"https://github.com/Extelligence-ai/bagel/blob/v2.5.4/bagel_mcp/pipeline/tasks/rsync_files.py#L134-L138","type":"technical-description"},{"url":"https://www.vulncheck.com/advisories/bagel-before-2.5.5-argument-injection-via-rsync-pipeline-task-options","type":"third-party-advisory"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138028.json","type":"advisory"},{"url":"https://github.com/Extelligence-ai/bagel","type":"package"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138028","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-27T20:51:04.839Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138028","license":"NVD terms of use","firstSeenAt":"2026-11-27T20:51:04.839Z"},{"name":"osv","at":"2026-11-27T23:03:32.865Z","url":"https://osv.dev/vulnerability/CVE-2026-138028","license":"CC-BY 4.0","firstSeenAt":"2026-11-27T21:24:53.428Z"},{"name":"cvelistV5","at":"2026-11-28T14:58:03.399Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-138028","license":"CVE Terms of Use","firstSeenAt":"2026-11-27T19:42:35.786Z"}],"firstSeenAt":"2026-11-27T19:42:35.786Z","publishedAt":"2026-11-27T19:15:18.962Z","modifiedAt":"2026-11-27T21:11:12.506Z"}