CVE-2026-138027
Published:November 27, 2026
Updated:December 01, 2026
Bagel (bagel-mcp) before 2.5.5 exposes unsandboxed DuckDB SQL execution through the read-only annotated query_messages MCP tool, allowing file access and network requests. Attackers who prompt-inject the driving LLM via recorded logs or topics can invoke read_csv_auto, COPY TO, or httpfs to read and write files and perform server-side request forgery.
Affected Packages
https://github.com/Extelligence-ai/bagel.git (GITHUB):
Affected version(s) >=v2.0.0 <v2.5.5Fix Suggestion:
Update to version v2.5.5bagel-mcp (PYTHON):
Affected version(s) >=2.5.1 <2.5.5Fix Suggestion:
Update to version 2.5.5Related Resources (9)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.7
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Exposed Dangerous Method or Function
EPSS
Base Score:
0.59