High

Bagel argument injection runs commands as server (CVE-2026-138028)

An attacker who influences the LLM through prompt-injected content can trigger the file-download pipeline with injected options, executing arbitrary commands as the Bagel server process.

Product
Systems
macOSWindowsLinux
Fixed in
2.5.5
CVSS
7.5
Weakness
CWE-88
Source
Get the fix in Telegram

Am I affected?

You are affected if the installed version is older than 2.5.5. Check the version you have and update to 2.5.5 or later. The fixed version is verified against a vendor or advisory source.

Affected software and versions

PackageEcosystemAffectedFixed in
Bagelother<2.5.52.5.5

A fixed version is shown only when it is verified against a vendor or advisory source.

Who should check

Anyone running Bagel (bagel-mcp) older than 2.5.5, on macOS, Windows or Linux.

Expected outcome after remediation

The agent reports which Bagel version is installed, whether it is below 2.5.5, and confirms the update to 2.5.5 or later was completed.

Get the fix

FixLane has a reviewed fix procedure for this incident: a read-only check first, then the fix. Ask the Telegram bot, or connect an AI agent to the FixLane MCP server and call get_fix_prompt with incident id 5222 and your operating system.

Related Bagel incidents

All Bagel incidents