CVE-2026-138027
Bagel (bagel-mcp)
- Severity
- High
- Published
- November 27, 2026
- Last modified
- November 27, 2026
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.
CVSS vector CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
References
Listed in
Related CVEs
claw-code versions 0.1.11 through 0.1.16 load stdio MCP server definitions from project-controlled configuration files and start their configured commands during startup tool discovery.
The jpmorgan-payments/ai Documentation-Search MCP server before commit cc72482 contains a server-side request forgery vulnerability in the related() tool that skips domain validation of the url argument.
ManagementRouteSecurityMiddleware in jupyter_mcp_server/server.py checks request.url.hostname rather than the actual TCP peer before permitting access to /api/connect, /api/stop, and /api/healthz.
PinePaper MCP server enables AI tools to create animated graphics with PinePaper Studio.
AssertProjectAllowlist for gitlab_api_request in tools/gitlab-api-request.ts returns without enforcing the configured allowedProjectIds check when readProjectIdFromApiRelativePath cannot extract a project…
An authenticated user adding a STDIO MCP server can supply crafted args that PackageManager.transformCommand() extracts as a package name. validateCommandArgs does not reject shell metacharacters in those…
