Bagel before 2.5.5 Unsandboxed DuckDB SQL Execution via query_messages

State
Published
Severity
7.7 High
Published
Nov 27, 2026
Updated
Nov 27, 2026
Reserved
Nov 27, 2026

Read the record on cve.org

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.

ProductVersions
Bagel Extelligence-aibefore 2.5.5 Affected

Weaknesses

  • CWE-749 Exposed Dangerous Method or Function

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.