# CVE-2026-138028: Bagel before 2.5.5 Argument Injection via rsync Pipeline Task Options

- Severity: High 7.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.58%, higher than 49% of CVEs (2026-12-01)
- Published: 2026-11-27T19:15:18.962Z
- Modified: 2026-11-30T17:18:49.210Z
- Weaknesses: CWE-88
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- Extelligence-ai Bagel: before 2.5.5

## Every score

- VulnCheck: CVSS:4.0 7.7 High `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`
- VulnCheck: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`

## 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)

## Sources

- CVE List: [CVE-2026-138028](https://www.cve.org/CVERecord?id=CVE-2026-138028), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-138028](https://nvd.nist.gov/vuln/detail/CVE-2026-138028), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-138028 · Whole record: https://cve.day/CVE-2026-138028.json · Rebuilt by cve.day 2026-11-30T17:32:16.810Z
