Skip to content
CVE-2026-138028: Argument injection in Bagel before 2.5.5 enables command execution

CVE-2026-138028: Argument injection in Bagel before 2.5.5 enables command execution

First seen 28 Nov 2026, 13:15 UTC • •

Article Content

Browse articles
ThreatCluster AI
ThreatCluster •November 28, 2026 at 13:16 UTC
  • •CVE-2026-138028 (CVSS 7.7, High) allows rsync option injection in Bagel before 2.5.5 via the RsyncFilesToLocalDirectory function.
  • •Redpacketsecurity reports that prompt-injected content reaching the LLM can trigger command execution as the Bagel server process.
  • •Upgrading to Bagel 2.5.5 is the fix; until then, disable or restrict the rsync pipeline task and avoid processing untrusted content.
  • •No KEV listing, PoC or confirmed exploitation was reported in the sources reviewed.

CVE-2026-138028 affects Bagel (bagel-mcp) before version 2.5.5, where the RsyncFilesToLocalDirectory function rejects only the --quiet and --log-format option values, leaving rsync options such as -e/--rsh and --rsync-path injectable.

Redpacketsecurity reports that an attacker who influences the LLM through prompt-injected content can trigger run_pipeline with these options to execute commands as the Bagel server process.

Redpacketsecurity describes the impact as high for exposed Bagel deployments but states that urgency could not be confirmed because KEV, SSVC, PoC and EPSS indicators were not provided.

The attack requires network reachability and a prompt-injection opportunity, and user or agent interaction to process the influenced content; no prior privileges are needed.

Redpacketsecurity says the scope is unchanged, so direct impact is confined to the Bagel host, though accessible credentials or mounted resources could extend consequences. VulnCheck publishes the advisory with CWE-88 classification, references GHSA-gx2g-3pch-43q5 and the Bagel v2.5.5 release notes.

Redpacketsecurity recommends upgrading to the fixed release, disabling or restricting the rsync pipeline task until patched, running Bagel with least privilege, and reviewing logs for unexpected rsync option arguments or shell spawning. CVE-2026-138028 was published on 2026-11-27 with a CVSS score of 7.7 (High).

Start a free Starter trial for enhanced analysis

Ask AI about this cluster

Or ask in your own assistant: ClaudeChatGPTPerplexityGemini

Timeline

2026-11-27
CVE-2026-138028 published
Published with a CVSS score of 7.7 (High) affecting Bagel before version 2.5.5.
2026-11-28
Redpacketsecurity alert published
Redpacketsecurity describes high impact for exposed deployments and recommends upgrade, task restriction and least-privilege operation.
Redpacketsecurity
2026-11-28
VulnCheck advisory published
VulnCheck published its advisory classifying the flaw as CWE-88 and linking GHSA-gx2g-3pch-43q5 and the Bagel v2.5.5 release notes.
www.vulncheck.com

More articles in this cluster (4)

Following this threat?

Track CVE-2026-138028 in your own feed — you're alerted when they show up in new reporting, leak sites or exploitation.

Free account · no card needed

Common questions

Am I affected?
You are affected if you run Bagel (bagel-mcp) before version 2.5.5 with the rsync pipeline task reachable, especially where it processes untrusted external content.
Is this being exploited?
The sources reviewed report no known exploitation, PoC, or KEV listing; Redpacketsecurity states that urgency could not be confirmed.
What should we do first?
Upgrade to Bagel 2.5.5, and until then disable or restrict the rsync pipeline task and avoid processing untrusted content.