CVE-2026-138027

Bagel before 2.5.5 Unsandboxed DuckDB SQL Execution via query_messages

Published Nov 27, 2026 CVSS 4.0 · 7.7 High EPSS n/a KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Extelligence-ai
Extelligence-ai bagel
Vendors & Products Extelligence-ai
Extelligence-ai bagel
Type Values Removed Values Added
Description 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.
Title Bagel before 2.5.5 Unsandboxed DuckDB SQL Execution via query_messages
Weaknesses CWE-749
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7.7, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 27, 2026, 7:15 PM
Reserved
Nov 27, 2026, 4:44 PM
Status
Received
Published
Nov 27, 2026, 8:18 PM
Modified
Nov 27, 2026, 8:18 PM