CVE-2026-138027
Bagel before 2.5.5 Unsandboxed DuckDB SQL Execution via query_messages
CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-749 |
| Vendor | extelligence-ai |
| Product | bagel |
| Published | Nov 27, 2026 |
Stay Ahead of the Next One
Get instant alerts for extelligence-ai bagel
Be the first to know when new high vulnerabilities affecting extelligence-ai bagel are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected Versions
Extelligence-ai / Bagel
0 < 2.5.5
References
github.com: https://github.com/Extelligence-ai/bagel/security/advisories/GHSA-gx2g-3pch-43q5 github.com: https://github.com/Extelligence-ai/bagel/commit/cbec958edd9ce105b9005c9e31631b1dc420ee4f github.com: https://github.com/Extelligence-ai/bagel/releases/tag/v2.5.5 github.com: https://github.com/Extelligence-ai/bagel/blob/v2.5.4/bagel_mcp/query.py#L11-L29 github.com: https://github.com/Extelligence-ai/bagel/blob/v2.5.4/bagel_mcp/server.py#L246 vulncheck.com: https://www.vulncheck.com/advisories/bagel-before-2.5.5-unsandboxed-duckdb-sql-execution-via-query-messages
Credits
Syed Anas Mohiuddin