CVE-2026-138028
7.5HighPublished Nov 27, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Network
- Complexity
- High
- Privileges
- None
- User action
- Required
- Impact
- Full C/I/A compromise
- Weakness
- CWE-88
What an attacker gets
Attackers can execute arbitrary commands as the Bagel server process. This requires the attacker to successfully perform prompt injection against the LLM to influence the rsync task parameters.
Root cause
The RsyncFilesToLocalDirectory function fails to properly sanitize rsync options, allowing for argument injection via malicious input.
Affected versions
Bagel before 2.5.5
CVSS v3.1 · CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Fix & remediation
Upgrade to Bagel 2.5.5 or later. If you cannot upgrade immediately, restrict access to the LLM interface to prevent untrusted users from influencing pipeline tasks.
$ pip install --upgrade bagel-mcpAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD 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.
References
- https://github.com/Extelligence-ai/bagel/blob/v2.5.4/bagel_mcp/pipeline/tasks/rsync_files.py#L134-L138
- https://github.com/Extelligence-ai/bagel/blob/v2.5.4/bagel_mcp/pipeline/tasks/rsync_files.py#L75-L84
- https://github.com/Extelligence-ai/bagel/commit/cbec958edd9ce105b9005c9e31631b1dc420ee4f
- 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-rsync-pipeline-task-options
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1381627.0HighAttackers can execute arbitrary code or crash the application by providing a crafted backup file. This requires a user to perform a restore or addnew operation on an attached Alcatel phone.
- CVE-2026-1381617.8HighAttackers can achieve code execution by providing a crafted backup file with an overlong MD5 value. This requires a user to process a malicious file using convertbackup or restore.
- CVE-2026-1381607.8HighAttackers can execute arbitrary code or crash the application by providing a malicious backup file. This requires a user to trigger a restore or backup process with a crafted file.
- CVE-2026-1381198.8HighUnauthenticated attackers can steal session cookies and take over Kestra instances by tricking a logged-in user into clicking a malicious link. This is a reflected cross-site scripting attack that executes arbitrary JavaScript in the user's browser.
- CVE-2026-1381187.8HighAttackers can execute arbitrary Python code by providing a malicious .hspy or .zspy file. A user must open or restore a crafted model file for the exploit to trigger.
- CVE-2026-13800410.0CriticalRemote unauthenticated attackers can execute arbitrary OS commands with root privileges. This is achieved by sending a crafted request to the UPnP Igd Control Endpoint.