CVE-2026-138027 Bagel - Server Side Request Forgery & File Access

Bagel (bagel-mcp) < 2.5.5 contains a server-side request forgery and file access vulnerability caused by unsandboxed DuckDB SQL execution in the read-only annotated query_messages MCP tool, letting attackers invoke read_csv_auto, COPY TO, or httpfs to read/write files and perform SSRF, exploit requires attacker to prompt-inject the driving LLM via recorded logs or topics.

CVSS base score 7.5 /10
High
CISA KEV
Not listed
Public exploit
None known
EPSS
0.59% chance of exploitation in 30 days
View the NVD record ↗