CVE-2026-138027

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.
Configurations

No configuration.

History

27 Nov 2026, 20:18

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-27 20:18

Updated : 2026-12-01 22:17


NVD link : CVE-2026-138027

Mitre link : CVE-2026-138027

CVE.ORG link : CVE-2026-138027


JSON object : View

Products Affected

No product.

CWE
CWE-749

Exposed Dangerous Method or Function