CVE-2026-138028

7.5High

Published Nov 27, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

7.5CVSS

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.

remediation — bash
$ pip install --upgrade bagel-mcp

AI-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

Source: nvd.nist.gov/vuln/detail/CVE-2026-138028

More fully triaged vulnerabilities you may want to check next.