PT-2026-160740

CVE-2026-138027

·

Published

2026-11-27

·

Updated

2026-11-28

Description by

CVSS 4.0
7.7
High
MetricsAV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions Bagel (bagel-mcp) versions prior to 2.5.5
Description The software allows unsandboxed DuckDB SQL execution via the query messages MCP tool, which is incorrectly annotated as read-only. This flaw enables unauthorized file access and network requests. An attacker can use prompt injection against the driving Large Language Model (LLM) through recorded logs or topics to execute functions such as read csv auto(), COPY TO, or httpfs to read and write files and perform server-side request forgery (SSRF), a technique where the attacker induces the server to make requests to an unintended location.
Recommendations Update Bagel (bagel-mcp) to version 2.5.5 or later. As a temporary mitigation, restrict the use of the query messages tool until the update is applied.
Exploitability
Exploit
Fix
Researchers
Vendors
Affected products
Related identifiers
GHSA-GX2G-3PCH-43Q5
Found an issue in the description? Have something to add? Feel free to write us 👾