CVE-2026-138027 PUBLISHED

Bagel before 2.5.5 Unsandboxed DuckDB SQL Execution via query_messages

Assigner: VulnCheck
Reserved: 27.11.2026 Published: 27.11.2026 Updated: 27.11.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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 7.7

Product Status

Vendor Extelligence-ai
Product Bagel
Versions Default: unaffected
  • affected from 0 to 2.5.5 (excl.)

Credits

  • Syed Anas Mohiuddin finder

References

Problem Types

  • Exposed Dangerous Method or Function CWE