← AI agent vulnerabilities

CVE-2026-138027

Bagel (bagel-mcp)

7.5
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

CVE-2026-138027 on NVD

Listed in

HighMCP servers

Related CVEs

Dec 1
CVE-2026-1281158.4

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.

Nov 30
CVE-2026-1399023.1

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.

Nov 30
CVE-2026-1371899.3

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.

Nov 30
CVE-2026-1371886.1

PinePaper MCP server enables AI tools to create animated graphics with PinePaper Studio.

Nov 30
CVE-2026-1371875.4

AssertProjectAllowlist for gitlab_api_request in tools/gitlab-api-request.ts returns without enforcing the configured allowedProjectIds check when readProjectIdFromApiRelativePath cannot extract a project…

Nov 30
CVE-2026-1371868.7

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…