Bug 2585609 (CVE-2026-138027) - CVE-2026-138027 bagel-mcp: bagel-mcp: Arbitrary file access via unsandboxed database queries
Summary: CVE-2026-138027 bagel-mcp: bagel-mcp: Arbitrary file access via unsandboxed d...
Keywords:
Status: NEW
Alias: CVE-2026-138027
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-27 19:21 UTC by OSIDB Bzimport
Modified: 2026-11-27 19:31 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-27 19:21:54 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.