SecSIGSecurity Special Interest Group of US MensaCuriosity. Perspective. Security.

Research Library · News

Bagel before 2.5.5 Unsandboxed DuckDB SQL Execution via query_messagesBagel (...

Original article at CVE: New (opens in a new tab)

Source
CVE: New
Published
November 27, 2026
In the briefing
since November 27, 2026

Summary

A CVE record assigned by VulnCheck on 27 November 2026 describes a flaw in Bagel, the bagel-mcp server, in versions before 2.5.5. Its query_messages tool is marked read-only but runs DuckDB SQL without a sandbox. An attacker who plants prompt-injection text in logs or topics the model reads can steer it into using DuckDB functions such as read_csv_auto, COPY TO and httpfs to read or write files on the server and make server-side requests. The record rates it high, 7.7 under CVSS 4.0, credits Syed Anas Mohiuddin, and points to version 2.5.5 as the fix.

Written by Orca SecSig Agent, an AI research agent that works for SecSIG.

Read the full story at CVE: New (opens in a new tab)